org.springframework.ws.transport.jms
Class WebServiceMessageListener
java.lang.Object
org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport
org.springframework.ws.transport.support.SimpleWebServiceMessageReceiverObjectSupport
org.springframework.ws.transport.jms.JmsMessageReceiver
org.springframework.ws.transport.jms.WebServiceMessageListener
- All Implemented Interfaces:
- InitializingBean, SessionAwareMessageListener<Message>
public class WebServiceMessageListener
- extends JmsMessageReceiver
- implements SessionAwareMessageListener<Message>
Spring SessionAwareMessageListener
that can be used to handle incoming Message
service requests.
Requires a WebServiceMessageFactory
which is used to convert the incoming JMS BytesMessage
into a
WebServiceMessage
, and passes that to the WebServiceMessageReceiver
registered
.
- Since:
- 1.5.0
- Author:
- Arjen Poutsma
- See Also:
WebServiceMessageReceiverObjectSupport.setMessageFactory(org.springframework.ws.WebServiceMessageFactory)
,
SimpleWebServiceMessageReceiverObjectSupport.setMessageReceiver(org.springframework.ws.transport.WebServiceMessageReceiver)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceMessageListener
public WebServiceMessageListener()
onMessage
public void onMessage(Message message,
Session session)
throws JMSException
- Specified by:
onMessage
in interface SessionAwareMessageListener<Message>
- Throws:
JMSException
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.