camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artur Jablonski <>
Subject Re: Curious routing case
Date Fri, 31 Mar 2017 15:23:10 GMT
Hmmm. I am getting messages from Amazon sqs and can't change it. Let's say
I want to see if I can do it in Camel without putting another messaging
system in between.

Interesting feature of amq though.

On 31 Mar 2017 5:15 p.m., "Quinn Stevenson" <>

I’d probably use ActiveMQ Message Groups for this <

> On Mar 31, 2017, at 9:08 AM, Artur Jablonski <>
> Hello.
> I wonder if someone could push me in the right direction trying to express
> quite curious case in Camel route.
> Imagine there's a stream of messages some of which can be processed in
> parallel and some have to be processed serially. You can group the
> that require serial processing together by looking at the message body.
> don't know upfront how many groups can occur in the stream.
> The way I thought about doing this is having a route for each message
> group. Since I don't know upfront how many and what groups there will be
> then I would need to create routes dynamically. If a message comes
> belonging to a group that doesn't have it's handling route, then i could
> create it (is that even possible??) Then if there's no messages coming for
> a given group in some time I could remove the route for the group to
> cleanup (is that possible?)
> New to Camel
> Thx!
> Artur

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message