Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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.
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
But we don''t need nore use DataIntegration and jobs.
We use with Talend ESB and it works fine.
@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
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 😕
@Loko wrote:
Thank you 😕
you are welcome 😉
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.