Skip to main content

Variants

Prefix

Description

jndi

Destination name is a jndi queue name

jndi-topic

Destination name is a jndi topic name

queue

Destination is a queue name resolved using JMS

topic

Destination is a topic name resolved using JMS

Further parameters can be added as query parameters in the URI.

For example:

jms:jndi:SomeJndiNameForDestination?jndiInitialContextFactory=   //
   org.apache.activemq.jndi.ActiveMQInitialContextFactory&   //
   jndiURL=tcp://localhost:61616&priority=3&   //
   jms:queue:ExampleQueueName?timeToLive=1000

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!