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 and 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 Exception

      Throws:
        `Exception`

    - #### fromCore

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

      Throws:
        `Exception`

Copyright © 2020 The Apache Software Foundation. All rights reserved.