public class OpenWireMessageConverter extends Object implements MessageConverter<OpenwireMessage>
| Modifier and Type | Field and Description |
|---|---|
static String |
AMQ_MSG_DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY |
static String |
AMQ_PREFIX |
| Constructor and Description |
|---|
OpenWireMessageConverter(org.apache.activemq.wireformat.WireFormat marshaller) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.activemq.command.MessageDispatch |
createMessageDispatch(org.apache.activemq.artemis.core.server.MessageReference reference,
org.apache.activemq.artemis.api.core.ICoreMessage message,
AMQConsumer consumer) |
OpenwireMessage |
fromCore(org.apache.activemq.artemis.api.core.ICoreMessage coreMessage) |
org.apache.activemq.artemis.api.core.Message |
inbound(Object message) |
Object |
outbound(org.apache.activemq.artemis.api.core.Message message,
int deliveryCount) |
org.apache.activemq.artemis.api.core.ICoreMessage |
toCore(OpenwireMessage pureMessage) |
static byte |
toCoreType(byte amqType) |
public static final String AMQ_PREFIX
public static final String AMQ_MSG_DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY
public OpenWireMessageConverter(org.apache.activemq.wireformat.WireFormat marshaller)
public OpenwireMessage fromCore(org.apache.activemq.artemis.api.core.ICoreMessage coreMessage) throws Exception
fromCore in interface MessageConverter<OpenwireMessage>Exceptionpublic org.apache.activemq.artemis.api.core.ICoreMessage toCore(OpenwireMessage pureMessage) throws Exception
toCore in interface MessageConverter<OpenwireMessage>Exceptionpublic Object outbound(org.apache.activemq.artemis.api.core.Message message, int deliveryCount)
public org.apache.activemq.artemis.api.core.Message inbound(Object message) throws Exception
Exceptionpublic static byte toCoreType(byte amqType)
public static org.apache.activemq.command.MessageDispatch createMessageDispatch(org.apache.activemq.artemis.core.server.MessageReference reference,
org.apache.activemq.artemis.api.core.ICoreMessage message,
AMQConsumer consumer)
throws IOException,
javax.jms.JMSException
IOExceptionjavax.jms.JMSExceptionCopyright © 2017 The Apache Software Foundation. All Rights Reserved.