Class BasicRabbitMqJmsImplementation

    • Constructor Detail

      • BasicRabbitMqJmsImplementation

        public BasicRabbitMqJmsImplementation()
    • Method Detail

      • createConnectionFactory

        public com.rabbitmq.jms.admin.RMQConnectionFactory createConnectionFactory()
                                                                            throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • amqpMode

        public boolean amqpMode()
      • createDestination

        protected com.rabbitmq.jms.admin.RMQDestination createDestination​(java.lang.String name,
                                                                          JmsActorConfig c,
                                                                          boolean isQueue)
                                                                   throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • setAmqpMode

        public void setAmqpMode​(java.lang.Boolean amqpMode)
        Force the underlying JMS destination to be interopable with AMQP.

        Setting this to true changes queue and topic creation to use the RMQDestination(String,String,String,String) constructor. rather than delegating it to the underlying session. This allows interopability with AMQP senders such as bunny + JMS Producer/Consumers.

        Note the setting this to be true will still (under the covers) first use the JMS session to create a standard queue or topic (this has the effect of auto-declaring the required information within RabbitMQ first. After that it simply returns a RMQDestination with the specified name.

        The default is false if not specified.

      • getAmqpMode

        public java.lang.Boolean getAmqpMode()
        Force the underlying JMS destination to be interopable with AMQP.

        Setting this to true changes queue and topic creation to use the RMQDestination(String,String,String,String) constructor. rather than delegating it to the underlying session. This allows interopability with AMQP senders such as bunny + JMS Producer/Consumers.

        Note the setting this to be true will still (under the covers) first use the JMS session to create a standard queue or topic (this has the effect of auto-declaring the required information within RabbitMQ first. After that it simply returns a RMQDestination with the specified name.

        The default is false if not specified.