ESB : Route consuming messages from RabbitMQ

Four Stars

ESB : Route consuming messages from RabbitMQ

Hello there,

 

I'm a beginner in Talend ESB and I would like to simulate a route producing&consuming messages with a queue (local RabbitMQ).

I have developped this route, which does it quite well :

 

esb_route_rabbitmq.pngESB route producing and consuming messagesBut now, I would like to delay the messages delivery.

 

Explicitly, the main idea would be this :

- I would like that the producer sends many messages to the queue in a short laps of time, (this point is ok)

- While I would like that the consumer recieves messages from the queue slowly : 1 message consumed every minute for example.

 

I've found this was possible by referring to this link : Scheduling messages with RabbitMQ

However, I'm not able to use it in my route.

 

The solution might be, in the Camel rabbitmq component, to define the parameter connectionFactory (ref : http://camel.apache.org/rabbitmq.html).

But I'm not even able to do that.

 

Do some of you have already use RabbitMQ through Talend ESB ?

What about delaying the messages delivery ?

 

I will appreciate any help to go further.

Thanks in advance.

 

Kapusch

Tags (2)
Moderator

Re: ESB : Route consuming messages from RabbitMQ

Hello,

Could you please have a look at this TalendHelpCenter:Camel Component: RabbitMQ to see if it is OK with you?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: ESB : Route consuming messages from RabbitMQ

Hello xdshi,

I have already checked this Help, but haven't found how to define the parameter connectionFactory in the Camel Component through Talend ESB... Any clue for this point ? :/

Furthermore, do you know something about delaying the messages delivery ?

Cordially,
Kapusch
Six Stars

Re: ESB : Route consuming messages from RabbitMQ

Hy,

did you try the cDelayer component? It makes a delay in the routing flow, so I guess, next message read won't be triggered until the flow before did not finish.
And if you want to get only one message, I guess, this property can help to you: prefetchCount in this docs.

Hope I could help!

Best regards
Viktor

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read