public class JMSConduit extends AbstractConduit implements javax.jms.MessageListener
targetincomingObserver| Constructor and Description |
|---|
JMSConduit(org.apache.cxf.ws.addressing.EndpointReferenceType target,
JMSConfiguration jmsConfig,
Bus b) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the conduit.
|
void |
close(Message msg)
Close the connections associated with the message
|
protected void |
finalize() |
JMSConfiguration |
getJmsConfig() |
protected Logger |
getLogger() |
protected static boolean |
isSetReplyTo(Message message) |
void |
onMessage(javax.jms.Message jmsMessage)
When a message is received on the reply destination the correlation map is searched for the
correlationId.
|
void |
prepare(Message message)
Prepare the message to be sent.
|
protected void |
processReplyMessage(Exchange exchange,
javax.jms.Message jmsMessage)
Process the reply message
|
void |
sendExchange(Exchange exchange,
Object request)
Send the JMS message and if the MEP is not oneway receive the response.
|
void |
setJmsConfig(JMSConfiguration jmsConfig) |
getTarget, toStringactivate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessageObserver, setMessageObserverpublic JMSConduit(org.apache.cxf.ws.addressing.EndpointReferenceType target,
JMSConfiguration jmsConfig,
Bus b)
public void prepare(Message message) throws IOException
prepare in interface Conduitmessage - the message to be sent.IOExceptionpublic void close(Message msg) throws IOException
Conduitclose in interface Conduitclose in class AbstractConduitmsg - for which content should be closed.IOExceptionpublic void sendExchange(Exchange exchange, Object request)
exchange - the Exchange containing the outgoing messagerequest - the payload of the outgoing JMS messagepublic void onMessage(javax.jms.Message jmsMessage)
onMessage in interface javax.jms.MessageListenerprotected void processReplyMessage(Exchange exchange, javax.jms.Message jmsMessage) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void close()
AbstractConduitclose in interface Conduitclose in class AbstractConduitprotected Logger getLogger()
getLogger in class AbstractObservablepublic JMSConfiguration getJmsConfig()
public void setJmsConfig(JMSConfiguration jmsConfig)
protected static boolean isSetReplyTo(Message message)
Apache CXF