Interface MessageConverter<ProtocolMessage extends org.apache.activemq.artemis.api.core.Message>


  • public interface MessageConverter<ProtocolMessage extends org.apache.activemq.artemis.api.core.Message>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ProtocolMessage fromCore​(org.apache.activemq.artemis.api.core.ICoreMessage coreMessage, org.apache.activemq.artemis.core.persistence.StorageManager storageManager)  
      org.apache.activemq.artemis.api.core.ICoreMessage toCore​(ProtocolMessage pureMessage, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)  
    • Method Detail

      • toCore

        org.apache.activemq.artemis.api.core.ICoreMessage toCore​(ProtocolMessage pureMessage,
                                                                 org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)
                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fromCore

        ProtocolMessage fromCore​(org.apache.activemq.artemis.api.core.ICoreMessage coreMessage,
                                 org.apache.activemq.artemis.core.persistence.StorageManager storageManager)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception