Talend ESB / RabbitMq

One Star

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
One Star

Re: Talend ESB / RabbitMq

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();
}