Class AmqpCoreConverter


  • public class AmqpCoreConverter
    extends java.lang.Object
    This class was created just to separate concerns on AMQPConverter. For better organization of the code.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static CoreMessageWrapper processHeader​(CoreMessageWrapper jms, org.apache.qpid.proton.amqp.messaging.Header header)  
      protected static CoreMessageWrapper processMessageAnnotations​(CoreMessageWrapper jms, org.apache.qpid.proton.amqp.messaging.MessageAnnotations annotations)  
      static org.apache.activemq.artemis.api.core.ICoreMessage toCore​(AMQPMessage message, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)  
      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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AmqpCoreConverter

        public AmqpCoreConverter()
    • 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
      • processMessageAnnotations

        protected static CoreMessageWrapper processMessageAnnotations​(CoreMessageWrapper jms,
                                                                      org.apache.qpid.proton.amqp.messaging.MessageAnnotations annotations)