Object[]
|
buildListenerArguments(Object extractedMessage)
Build an array of arguments to be passed into the target listener method.
|
Message
|
buildMessage(Session session, Object result)
Build a JMS message to be sent as response based on the given result object.
|
Object
|
extractMessage(Message message)
Extract the message body from the given JMS message.
|
String
|
getDefaultListenerMethod()
Return the name of the default listener method to delegate to.
|
Object
|
getDelegate()
Return the target object to delegate message listening to.
|
DestinationResolver
|
getDestinationResolver()
Return the DestinationResolver for this adapter.
|
String
|
getListenerMethodName(Message originalMessage, Object extractedMessage)
Determine the name of the listener method that is supposed to
handle the given message.
|
MessageConverter
|
getMessageConverter()
Return the converter that will convert incoming JMS messages to
listener method arguments, and objects returned from listener
methods back to JMS messages.
|
Destination
|
getResponseDestination(Message request, Message response, Session session)
Determine a response destination for the given message.
|
String
|
getSubscriptionName()
Determine the subscription name for this message listener object.
|
void
|
handleListenerException(Throwable ex)
Handle the given exception that arose during listener execution.
|
void
|
handleResult(Object result, Message request, Session session)
Handle the given result object returned from the listener method,
sending a response message back.
|
void
|
initDefaultStrategies()
Initialize the default implementations for the adapter's strategies.
|
Object
|
invokeListenerMethod(String methodName, Object[] arguments)
Invoke the specified listener method.
|
void
|
onMessage(Message message, Session session)
|
void
|
onMessage(Message message)
Standard JMS MessageListener entry point.
|
void
|
postProcessProducer(MessageProducer producer, Message response)
Post-process the given message producer before using it to send the response.
|
void
|
postProcessResponse(Message request, Message response)
Post-process the given response message before it will be sent.
|
Destination
|
resolveDefaultResponseDestination(Session session)
Resolve the default response destination into a JMS Destination, using this
accessor's DestinationResolver in case of a destination name.
|
void
|
sendResponse(Session session, Destination destination, Message response)
Send the given response message to the given destination.
|
void
|
setDefaultListenerMethod(String defaultListenerMethod)
Specify the name of the default listener method to delegate to,
for the case where no specific listener method has been determined.
|
void
|
setDefaultResponseDestination(Destination destination)
Set the default destination to send response messages to.
|
void
|
setDefaultResponseQueueName(String destinationName)
Set the name of the default response queue to send response messages to.
|
void
|
setDefaultResponseTopicName(String destinationName)
Set the name of the default response topic to send response messages to.
|
void
|
setDelegate(Object delegate)
Set a target object to delegate message listening to.
|
void
|
setDestinationResolver(DestinationResolver destinationResolver)
Set the DestinationResolver that should be used to resolve response
destination names for this adapter.
|
void
|
setMessageConverter(MessageConverter messageConverter)
Set the converter that will convert incoming JMS messages to
listener method arguments, and objects returned from listener
methods back to JMS messages.
|