| java.lang.Object org.springframework.jms.listener.adapter.MessageListenerAdapter org.springframework.jms.listener.adapter.MessageListenerAdapter102
MessageListenerAdapter102 | public class MessageListenerAdapter102 extends MessageListenerAdapter (Code) | | A
MessageListenerAdapter subclass that uses the JMS 1.0.2 specification,
rather than the JMS 1.1 methods used by MessageListenerAdapter itself.
This class can be used for JMS 1.0.2 providers, offering the same facility
as MessageListenerAdapter does for JMS 1.1 providers.
author: Juergen Hoeller author: Rick Evans since: 2.0 |
Method Summary | |
protected void | initDefaultStrategies() Initialize the default implementations for the adapter's strategies:
SimpleMessageConverter102. | protected void | sendResponse(Session session, Destination destination, Message response) Overrides the superclass method to use the JMS 1.0.2 API to send a response. |
MessageListenerAdapter102 | public MessageListenerAdapter102(Object delegate)(Code) | | Create a new instance of the
MessageListenerAdapter102 class
for the given delegate.
Parameters: delegate - the target object to delegate message listening to |
sendResponse | protected void sendResponse(Session session, Destination destination, Message response) throws JMSException(Code) | | Overrides the superclass method to use the JMS 1.0.2 API to send a response.
Uses the JMS pub-sub API if the given destination is a topic,
else uses the JMS queue API.
|
Fields inherited from org.springframework.jms.listener.adapter.MessageListenerAdapter | final public static String ORIGINAL_DEFAULT_LISTENER_METHOD(Code)(Java Doc) final protected Log logger(Code)(Java Doc)
|
Methods inherited from org.springframework.jms.listener.adapter.MessageListenerAdapter | protected Object[] buildListenerArguments(Object extractedMessage)(Code)(Java Doc) protected Message buildMessage(Session session, Object result) throws JMSException(Code)(Java Doc) protected Object extractMessage(Message message) throws JMSException(Code)(Java Doc) protected String getDefaultListenerMethod()(Code)(Java Doc) protected Object getDelegate()(Code)(Java Doc) protected DestinationResolver getDestinationResolver()(Code)(Java Doc) protected String getListenerMethodName(Message originalMessage, Object extractedMessage) throws JMSException(Code)(Java Doc) protected MessageConverter getMessageConverter()(Code)(Java Doc) protected Destination getResponseDestination(Message request, Message response, Session session) throws JMSException(Code)(Java Doc) protected void handleListenerException(Throwable ex)(Code)(Java Doc) protected void handleResult(Object result, Message request, Session session) throws JMSException(Code)(Java Doc) protected void initDefaultStrategies()(Code)(Java Doc) protected Object invokeListenerMethod(String methodName, Object[] arguments) throws JMSException(Code)(Java Doc) public void onMessage(Message message)(Code)(Java Doc) public void onMessage(Message message, Session session) throws JMSException(Code)(Java Doc) protected void postProcessProducer(MessageProducer producer, Message response) throws JMSException(Code)(Java Doc) protected void postProcessResponse(Message request, Message response) throws JMSException(Code)(Java Doc) protected Destination resolveDefaultResponseDestination(Session session) throws JMSException(Code)(Java Doc) protected void sendResponse(Session session, Destination destination, Message response) throws JMSException(Code)(Java Doc) public void setDefaultListenerMethod(String defaultListenerMethod)(Code)(Java Doc) public void setDefaultResponseDestination(Destination destination)(Code)(Java Doc) public void setDefaultResponseQueueName(String destinationName)(Code)(Java Doc) public void setDefaultResponseTopicName(String destinationName)(Code)(Java Doc) public void setDelegate(Object delegate)(Code)(Java Doc) public void setDestinationResolver(DestinationResolver destinationResolver)(Code)(Java Doc) public void setMessageConverter(MessageConverter messageConverter)(Code)(Java Doc)
|
|
|