public final class StompJmsMessageTransformation
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copyProperties(StompJmsConnection connection,
javax.jms.Message fromMessage,
javax.jms.Message toMessage)
Copies the standard JMS and user defined properties from the givem
message to the specified message
|
static StompJmsDestination |
transformDestination(StompJmsConnection connection,
javax.jms.Destination destination)
Creates a an available JMS message from another provider.
|
static StompJmsMessage |
transformMessage(StompJmsConnection connection,
javax.jms.Message message)
Creates a fast shallow copy of the current StompJmsMessage or creates a
whole new message instance from an available JMS message from another
provider.
|
public static StompJmsDestination transformDestination(StompJmsConnection connection, javax.jms.Destination destination) throws javax.jms.JMSException
destination - - Destination to be converted into StompJms's
implementation.javax.jms.JMSExceptionjavax.jms.JMSException - if an error occurspublic static StompJmsMessage transformMessage(StompJmsConnection connection, javax.jms.Message message) throws javax.jms.JMSException
message - - Message to be converted into StompJms's implementation.connection - javax.jms.JMSException - if an error occurspublic static void copyProperties(StompJmsConnection connection, javax.jms.Message fromMessage, javax.jms.Message toMessage) throws javax.jms.JMSException
fromMessage - the message to take the properties fromtoMessage - the message to add the properties tojavax.jms.JMSExceptionCopyright © 2010-2013 FuseSource, Corp.. All Rights Reserved.