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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Talend ESB / RabbitMq

Hello everybody
I'm a newbie with Talend ESB and the world of MOM (ActiveMq, RabbitMq ...)
For a new project we have RabbitMq and i don't understand if it's possible to use Talend (ESB or other) to read the RabbitMq Queue.
And if it's possible, how to configure it ?
I read an interesting article here on HonertQ but i find nothing on RabbitMq.
Thanks
Regards
Regi
Labels (3)
1 Reply
Anonymous
Not applicable

Basically it is the same as the HornetQ example you refer to; I guess you could try the following:
1. Use the HornetQ example as starting point
2. Add the RabbitMQ libs to the ConnectionFactory; make sure you imported libs cover classes below: com.rabbitmq.client.ConnectionFactory;
com.rabbitmq.client.Connection;
com.rabbitmq.client.Channel;
com.rabbitmq.client.MessageProperties;
3. Modify the connection factory code using the example given on the RabbitMQ tutorial http://www.rabbitmq.com/tutorials/tutorial-two-java.html
//some pseudo code here:
jmsConnectionFactory = null;
try {
jmsConnectionFactory = new ConnectionFactory();
factory.setHost("localhost");
} catch (javax.naming.NamingException e) {
logger.error("Cannot obtain connectionfactory");
e.printStackTrace();
}