Class AMQPConverter

  • All Implemented Interfaces:
    org.apache.activemq.artemis.spi.core.protocol.MessageConverter<AMQPMessage>

    public class AMQPConverter
    extends java.lang.Object
    implements org.apache.activemq.artemis.spi.core.protocol.MessageConverter<AMQPMessage>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AMQPMessage fromCore​(org.apache.activemq.artemis.api.core.ICoreMessage coreMessage, org.apache.activemq.artemis.core.persistence.StorageManager storageManager)  
      static AMQPConverter getInstance()  
      org.apache.activemq.artemis.api.core.ICoreMessage toCore​(AMQPMessage messageSource, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)  
      • Methods inherited from class java.lang.Object

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

      • fromCore

        public AMQPMessage fromCore​(org.apache.activemq.artemis.api.core.ICoreMessage coreMessage,
                                    org.apache.activemq.artemis.core.persistence.StorageManager storageManager)
                             throws java.lang.Exception
        Specified by:
        fromCore in interface org.apache.activemq.artemis.spi.core.protocol.MessageConverter<AMQPMessage>
        Throws:
        java.lang.Exception
      • toCore

        public org.apache.activemq.artemis.api.core.ICoreMessage toCore​(AMQPMessage messageSource,
                                                                        org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)
                                                                 throws java.lang.Exception
        Specified by:
        toCore in interface org.apache.activemq.artemis.spi.core.protocol.MessageConverter<AMQPMessage>
        Throws:
        java.lang.Exception