javax.xml.messaging
public interface OnewayListener
The implementation of the onMessage
method defines
how the receiver responds to the SOAPMessage
object
that was passed to the onMessage
method.
JAXMServlet
,
ReqRespListener
Modifier and Type | Method and Description |
---|---|
void |
onMessage(javax.xml.soap.SOAPMessage message)
Passes the given
SOAPMessage object to this
OnewayListener object. |
void onMessage(javax.xml.soap.SOAPMessage message)
SOAPMessage
object to this
OnewayListener
object.
This method is invoked behind the scenes, typically by the
container (servlet or EJB container) after the messaging provider
delivers the message to the container.
It is expected that EJB Containers will deliver JAXM messages
to EJB components using message driven Beans that implement the
javax.xml.messaging.OnewayListener
interface.message
- the SOAPMessage
object to be passed to this
OnewayListener
objectCopyright (c) 2011, Oracle and/or its affiliates. All rights reserved.