Class JMSInjectHandler
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.jms.JMSInjectHandler
-
public class JMSInjectHandler extends Object
JMSInjectHandler use to mediate the received JMS message
-
-
Constructor Summary
Constructors Constructor Description JMSInjectHandler(String injectingSeq, String onErrorSeq, boolean sequential, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, Properties jmsProperties)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.axiom.om.OMElement
convertJMSMapToXML(javax.jms.MapMessage message)
boolean
invoke(Object object, String name)
Invoke the mediation logic for the passed messagevoid
setConnection(javax.jms.Connection connection)
void
setReplyDestination(javax.jms.Destination replyDestination)
-
-
-
Constructor Detail
-
JMSInjectHandler
public JMSInjectHandler(String injectingSeq, String onErrorSeq, boolean sequential, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, Properties jmsProperties)
-
-
Method Detail
-
invoke
public boolean invoke(Object object, String name) throws org.apache.synapse.SynapseException
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)
-
-