How to configure the cJMS component with the *exclusive consumer* feature

Talend Version          6.3.1


Using the ActiveMQ exclusive consumer feature with Talend route.
Additional Versions 6.2.1
Product Talend ESB
Problem Description  
Problem root cause  
Solution or Workaround

To enable the exclusive consumer feature, you would need to add the destination.consumer.exclusive=true parameter to the queue property of cJMS. However, this parameter is not currently supported with cMQConnectionFactory + cJMS.


Instead, you need to use the generic cMessagingEndpoint component, with the following URI as an example:


Where activemq bean is defined in the spring config file as follows:

 <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
       <property name="brokerURL" value="tcp://localhost:61616"/>
       <property name="userName" value="tadmin"/>
       <property name="password" value="tadmin"/>
Adjust the values for brokerURL, userName, and password as appropriate.
JIRA ticket number  
Version history
Revision #:
7 of 7
Last update:
‎07-05-2019 03:58 AM
Updated by:
Labels (4)