Class JMSInjectHandler
java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.jms.JMSInjectHandler
JMSInjectHandler use to mediate the received JMS message
-
Constructor Summary
ConstructorsConstructorDescriptionJMSInjectHandler(String injectingSeq, String onErrorSeq, boolean sequential, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, Properties jmsProperties) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.axiom.om.OMElementconvertJMSMapToXML(javax.jms.MapMessage message) booleanInvoke the mediation logic for the passed messagevoidsetConnection(javax.jms.Connection connection) voidsetReplyDestination(javax.jms.Destination replyDestination)
-
Constructor Details
-
JMSInjectHandler
public JMSInjectHandler(String injectingSeq, String onErrorSeq, boolean sequential, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, Properties jmsProperties)
-
-
Method Details
-
invoke
Invoke the mediation logic for the passed message- Throws:
org.apache.synapse.SynapseException
-
convertJMSMapToXML
public static org.apache.axiom.om.OMElement convertJMSMapToXML(javax.jms.MapMessage message) - Parameters:
message- JMSMap message- Returns:
- XML representation of JMS Map message
-
setConnection
public void setConnection(javax.jms.Connection connection) -
setReplyDestination
public void setReplyDestination(javax.jms.Destination replyDestination)
-