Class AmqpCoreConverter
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.converter.AmqpCoreConverter
-
public class AmqpCoreConverter extends java.lang.ObjectThis class was created just to separate concerns on AMQPConverter. For better organization of the code.
-
-
Constructor Summary
Constructors Constructor Description AmqpCoreConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static CoreMessageWrapperprocessHeader(CoreMessageWrapper jms, org.apache.qpid.proton.amqp.messaging.Header header)protected static CoreMessageWrapperprocessMessageAnnotations(CoreMessageWrapper jms, org.apache.qpid.proton.amqp.messaging.MessageAnnotations annotations)static org.apache.activemq.artemis.api.core.ICoreMessagetoCore(AMQPMessage message, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)static org.apache.activemq.artemis.api.core.ICoreMessagetoCore(AMQPMessage message, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools, org.apache.qpid.proton.amqp.messaging.Header header, org.apache.qpid.proton.amqp.messaging.MessageAnnotations annotations, org.apache.qpid.proton.amqp.messaging.Properties properties, org.apache.qpid.proton.amqp.messaging.ApplicationProperties applicationProperties, org.apache.qpid.proton.amqp.messaging.Section body, org.apache.qpid.proton.amqp.messaging.Footer footer)
-
-
-
Method Detail
-
toCore
public static org.apache.activemq.artemis.api.core.ICoreMessage toCore(AMQPMessage message, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools) throws java.lang.Exception
- Throws:
java.lang.Exception
-
toCore
public static org.apache.activemq.artemis.api.core.ICoreMessage toCore(AMQPMessage message, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools, org.apache.qpid.proton.amqp.messaging.Header header, org.apache.qpid.proton.amqp.messaging.MessageAnnotations annotations, org.apache.qpid.proton.amqp.messaging.Properties properties, org.apache.qpid.proton.amqp.messaging.ApplicationProperties applicationProperties, org.apache.qpid.proton.amqp.messaging.Section body, org.apache.qpid.proton.amqp.messaging.Footer footer) throws ConversionException
- Throws:
ConversionException
-
processHeader
protected static CoreMessageWrapper processHeader(CoreMessageWrapper jms, org.apache.qpid.proton.amqp.messaging.Header header) throws ConversionException
- Throws:
ConversionException
-
processMessageAnnotations
protected static CoreMessageWrapper processMessageAnnotations(CoreMessageWrapper jms, org.apache.qpid.proton.amqp.messaging.MessageAnnotations annotations)
-
-