public class JMSMappingOutboundTransformer extends OutboundTransformer
| Modifier and Type | Field and Description |
|---|---|
static org.apache.qpid.proton.amqp.Symbol |
JMS_DEST_TYPE_MSG_ANNOTATION |
static org.apache.qpid.proton.amqp.Symbol |
JMS_REPLY_TO_TYPE_MSG_ANNOTATION |
static byte |
QUEUE_TYPE |
static byte |
TEMP_QUEUE_TYPE |
static byte |
TEMP_TOPIC_TYPE |
static byte |
TOPIC_TYPE |
idGenerator| Constructor and Description |
|---|
JMSMappingOutboundTransformer(IDGenerator idGenerator) |
| Modifier and Type | Method and Description |
|---|---|
long |
transform(ServerJMSMessage message,
org.apache.qpid.proton.codec.WritableBuffer buffer)
Given an JMS Message perform a conversion to an AMQP Message and encode into a form that
is ready for transmission.
|
public static final org.apache.qpid.proton.amqp.Symbol JMS_DEST_TYPE_MSG_ANNOTATION
public static final org.apache.qpid.proton.amqp.Symbol JMS_REPLY_TO_TYPE_MSG_ANNOTATION
public static final byte QUEUE_TYPE
public static final byte TOPIC_TYPE
public static final byte TEMP_QUEUE_TYPE
public static final byte TEMP_TOPIC_TYPE
public JMSMappingOutboundTransformer(IDGenerator idGenerator)
public long transform(ServerJMSMessage message, org.apache.qpid.proton.codec.WritableBuffer buffer) throws javax.jms.JMSException, UnsupportedEncodingException
OutboundTransformertransform in class OutboundTransformermessage - the message to transformbuffer - the buffer where encoding should write tojavax.jms.JMSException - if an error occurs during message transformationUnsupportedEncodingException - if an error occurs during message encodingCopyright © 2017 The Apache Software Foundation. All Rights Reserved.