1 Reply Latest reply on Mar 31, 2014 6:45 AM by Andy Taylor

    Has HornetQ support AMQP Mapping to JMS?

    feng wang Newbie

      Has HornetQ support AMQP Mapping to JMS?  That likes ActiveMQ:  http://activemq.apache.org/amqp.html

           Mapping to JMS

      There are three basic conversion strategies that can be used with AMQP and interoperating with the JMS API.

      Strategy

      Description

      native

      Default Wraps the bytes of the AMQP message into a JMS BytesMessage and
      also maps the headers of the AMQP message to headers on the JMS message

      raw

      Wraps the bytes of the AMQP message into a JMS BytesMessage

      jms

      Maps headers of the AMQP message to JMS message headers and maps the
      body of the AMQP message to JMS body

      Set the transformer transport option on the transportConnector to the desired mapping strategy. For example, to interoperate with JMS at the payload level, set the transformer option to jms

       

      <transportConnector name="amqp" uri="amqp://localhost:5672?transport.transformer=jms"/>