|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.gateway.PackageJmsMessageContents
public class PackageJmsMessageContents
Default gateway action for plain jms messages
It will just drop the jms message contents into a esb Message
Constructor Summary | |
---|---|
PackageJmsMessageContents(ConfigTree config)
|
|
PackageJmsMessageContents(MessagePayloadProxy payloadProxy)
|
Method Summary | |
---|---|
static MessagePayloadProxy |
createPayloadProxy(ConfigTree config)
|
Message |
process(java.lang.Object obj)
Will just drop the jms message contents into a esb Message |
void |
setEsbPropertiesStrategy(ESBPropertiesSetter esbPropertiesStrategy)
Set the ESBPropertiesSetter to be used |
protected void |
setPropertiesFromJMSMessage(javax.jms.Message fromJMS,
Message toESB)
Delegates to DefaultESBPropertiesSetter.setPropertiesFromJMSMessage(javax.jms.Message, Message)
by default, but this method can be overridden by subclasses that need a different behaviour. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageJmsMessageContents(ConfigTree config)
public PackageJmsMessageContents(MessagePayloadProxy payloadProxy)
Method Detail |
---|
public Message process(java.lang.Object obj) throws javax.jms.JMSException, java.io.IOException, MessageDeliverException
obj
- An instance of Message
esbMessage
A newly created ESB Message object populated with the contents
obj argument passed in.
javax.jms.JMSException
java.io.IOException
MessageDeliverException
setESBMessageBody(javax.jms.Message, Message)
public void setEsbPropertiesStrategy(ESBPropertiesSetter esbPropertiesStrategy)
ESBPropertiesSetter
to be used
esbPropertiesStrategy
- the strategy to be usedprotected void setPropertiesFromJMSMessage(javax.jms.Message fromJMS, Message toESB) throws javax.jms.JMSException
DefaultESBPropertiesSetter.setPropertiesFromJMSMessage(javax.jms.Message, Message)
by default, but this method can be overridden by subclasses that need a different behaviour.
It is also possible to set a different strategy by setting setEsbPropertiesStrategy(ESBPropertiesSetter)
javax.jms.JMSException
public static MessagePayloadProxy createPayloadProxy(ConfigTree config)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |