|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fusesource.stompjms.message.StompJmsMessageTransformation
public final class StompJmsMessageTransformation
A helper class for converting normal JMS interfaces into StompJms specific ones.
| Method Summary | |
|---|---|
static void |
copyProperties(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(javax.jms.Destination destination)
Creates a an available JMS message from another provider. |
static StompJmsMessage |
transformMessage(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StompJmsDestination transformDestination(javax.jms.Destination destination)
throws javax.jms.JMSException
destination - - Destination to be converted into StompJms's
implementation.
javax.jms.JMSException
javax.jms.JMSException - if an error occurs
public static StompJmsMessage transformMessage(javax.jms.Message message)
throws javax.jms.JMSException
message - - Message to be converted into StompJms's implementation.connection -
javax.jms.JMSException - if an error occurs
public static void copyProperties(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 to
javax.jms.JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||