Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] can't defind RabbitMQ cMQConnectionFactory

Hello,
I try to use Talend with RabbitMQ,
So, i create cMQConnectionFactory, 
in Dependencies i add the rabbitmq-alldep.jar and check it in the Bundle ClassPath
In Component tab in MQ Server check the "Customized" option and add the camel-rabbitmq-alldep.jar 
Now, if i understand right, i need to customize jmsConnectionFactory in the code, and the problem start here... 
I'm adding: jmsConnectionFactory = new ConnectionFactory(); and try to check it in the Code tab. Here i see, that need to import class... 
So the question is, how to do this? 
I'm only start to work with Talend, so may be i do some thing wrong... 

Thank a lot!
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

RabbitMQ is not JMS.  It uses the AMQP protocol and does not support the JMS client API.  You can still connect to it with Talend using the camel-rabbitmq component, see http://camel.apache.org/rabbitmq.html.
In Talend you just need to use a cMessagingEndpoint with a uri similar to the one shown here "rabbitmq://0.0.0.0:5672/adsb?routingKey=A&username=tadmin&password=tadmin".  In the example uri the rabbitmq username and password are both assumed to be "tadmin".

View solution in original post

2 Replies
Anonymous
Not applicable
Author

RabbitMQ is not JMS.  It uses the AMQP protocol and does not support the JMS client API.  You can still connect to it with Talend using the camel-rabbitmq component, see http://camel.apache.org/rabbitmq.html.
In Talend you just need to use a cMessagingEndpoint with a uri similar to the one shown here "rabbitmq://0.0.0.0:5672/adsb?routingKey=A&username=tadmin&password=tadmin".  In the example uri the rabbitmq username and password are both assumed to be "tadmin".
Anonymous
Not applicable
Author

Hello eost,
Thank you for your answer.
It been vary helpful!!!!