public class JMSConduit
extends org.apache.cxf.transport.AbstractConduit
implements javax.jms.MessageListener
| Constructor and Description |
|---|
JMSConduit(org.apache.cxf.ws.addressing.EndpointReferenceType target,
JMSConfiguration jmsConfig,
org.apache.cxf.Bus b) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close(org.apache.cxf.message.Message msg) |
protected void |
finalize() |
JMSConfiguration |
getJmsConfig() |
protected Logger |
getLogger() |
protected static boolean |
isSetReplyTo(org.apache.cxf.message.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(org.apache.cxf.message.Message message)
Prepare the message to be sent.
|
protected void |
processReplyMessage(org.apache.cxf.message.Exchange exchange,
javax.jms.Message jmsMessage)
Process the reply message
|
void |
sendExchange(org.apache.cxf.message.Exchange exchange,
Object request)
Send the JMS message and if the MEP is not oneway receive the response.
|
void |
setJmsConfig(JMSConfiguration jmsConfig) |
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverpublic JMSConduit(org.apache.cxf.ws.addressing.EndpointReferenceType target,
JMSConfiguration jmsConfig,
org.apache.cxf.Bus b)
public void prepare(org.apache.cxf.message.Message message)
throws IOException
prepare in interface org.apache.cxf.transport.ConduitIOExceptionpublic void close(org.apache.cxf.message.Message msg)
throws IOException
close in interface org.apache.cxf.transport.Conduitclose in class org.apache.cxf.transport.AbstractConduitIOExceptionpublic void sendExchange(org.apache.cxf.message.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(org.apache.cxf.message.Exchange exchange,
javax.jms.Message jmsMessage)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void close()
close in interface org.apache.cxf.transport.Conduitclose in class org.apache.cxf.transport.AbstractConduitprotected Logger getLogger()
getLogger in class org.apache.cxf.transport.AbstractObservablepublic JMSConfiguration getJmsConfig()
public void setJmsConfig(JMSConfiguration jmsConfig)
protected static boolean isSetReplyTo(org.apache.cxf.message.Message message)
Apache CXF