Hi ,

I have a case where thousands of message queued at specific time in  AMQ 
queue have to be executed within limited time box , only  the last message 
tagged with  special header (isLast=true) 

my camel route consumes those messages sequentially and if isLast=true 
flagged a special processors executed . everything run as expected since I'm
consuming the messages  using single consumer (sequential).

to utilize execution environment and achieve time box constrain, I increase
concurrent consumer to 10(concurrentConsumers=10) .

it's boost the  exaction time , my problem with concurrent executing camel
threads  of last 10 messages as I assume , is there a way to guarantee that
the  last message ( tagged one ) will be   executed only when there is no
inflight messages still running in background back ground  .


Please advise 




-----
Othman Darwish
ProgressSoft Corp.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Consuming-AMQ-messages-concurrently-tp5759197.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to