How to schedule JMS consuming in a Talend route ?

Eight Stars

How to schedule JMS consuming in a Talend route ?

I need to use an ActiveMQ queue as cache to store all the messages of the day, then process them at 9pm. 

In Talend ESB, how can we schedule queue consuming ? I can't see any Camel option for cJms like the ones for file:// or ftp:// messaging endpoints.


Accepted Solutions
Eight Stars

Re: How to schedule JMS consuming in a Talend route ?

I got the solution : in a cProperty define a RoutePolicy java objet

In a DSL component use it into the route flow, it can't be set a start component but will work anyway from the very beggening of the route instance.

 


All Replies
Highlighted
Forteen Stars

Re: How to schedule JMS consuming in a Talend route ?

for consumer, I don't know the way to schedule it (as a variant - disable/enable route by schedule)

 

but why you need a route for parse messages? it is a simple task for normal DI Job, then you can schedule this job as you want

-----------
Eight Stars

Re: How to schedule JMS consuming in a Talend route ?

But we don''t need nore use DataIntegration and jobs.

 

We use with Talend ESB and it works fine.

Forteen Stars

Re: How to schedule JMS consuming in a Talend route ?


@Loko wrote:

 We use with Talend ESB and it works fine.


if it does not cover all your needs - at least you have 100% working solution

you already have Studio for ESB, it already support DI perspective, so all what you need - is build standalone job and deploy it.

of course if would be direct solution for scheduling consumer - it will be interesting to know

-----------
Eight Stars

Re: How to schedule JMS consuming in a Talend route ?

I don't need a job to parse messages. I can do it very easily with a Camel route.  And mixing routes and jobs is a really bad idea because of lacks of performance, Talend said.

 

Please keep in my purpose : scheduling JMS consuming. I don't need help for parsings messages, I've been doing it for years now.

Thank  you :/

Forteen Stars

Re: How to schedule JMS consuming in a Talend route ?


@Loko wrote:

 

Thank  you :/


you are welcome ;-) 

-----------
Eight Stars

Re: How to schedule JMS consuming in a Talend route ?

I got the solution : in a cProperty define a RoutePolicy java objet

In a DSL component use it into the route flow, it can't be set a start component but will work anyway from the very beggening of the route instance.

 

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

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