|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.ActiveMQMessageTransformation
public class ActiveMQMessageTransformation
A helper class for converting normal JMS interfaces into ActiveMQ specific ones.
Constructor Summary | |
---|---|
ActiveMQMessageTransformation()
|
Method Summary | |
---|---|
static ActiveMQDestination |
transformDestination(javax.jms.Destination destination)
Creates a an available JMS message from another provider. |
static ActiveMQMessage |
transformMessage(javax.jms.Message message,
ActiveMQConnection connection)
Creates a fast shallow copy of the current ActiveMQMessage 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 |
Constructor Detail |
---|
public ActiveMQMessageTransformation()
Method Detail |
---|
public static ActiveMQDestination transformDestination(javax.jms.Destination destination) throws javax.jms.JMSException
destination
- - Destination to be converted into ActiveMQ's implementation.
javax.jms.JMSException
- if an error occurspublic static final ActiveMQMessage transformMessage(javax.jms.Message message, ActiveMQConnection connection) throws javax.jms.JMSException
message
- - Message to be converted into ActiveMQ's implementation.connection
-
javax.jms.JMSException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |