Package org.apache.activemq.artemis.spi.core.protocol

## Interface MessageConverter<ProtocolMessage extends Message>

-     public interface MessageConverter<ProtocolMessage extends Message>

- - ### Method Summary

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

- - ### Method Detail

    - #### toCore

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

      Throws:
        `java.lang.Exception`

    - #### fromCore

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

      Throws:
        `java.lang.Exception`