camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Consuming messages from multiple AMQ queues and forward it to single AMQ queue concern
Date Thu, 19 Jun 2014 06:17:29 GMT
Hi

There is also message groups that can allow FIFO for a group of
messages while allow parallel processing of multiple groups.

http://activemq.apache.org/message-groups.html

On Thu, Jun 19, 2014 at 8:05 AM, Darwish <othman.darwish@progressoft.com> wrote:
> Thanks kraythe for reply ...appreciate it
>
> The ordering is crucial for sub-set of those messages to be serve in FIFO
> since  its have impact on my business which may lead to "business" dead lock
> if it not processed in the   FIFS maaner . for example
> imagine that  message A which will debit  customer1 account and credit
> customer2 account , mean while customer2 send a message B to customer 1
> which will credit customer 1 and debit customer 2 , here i'm in a risk of
> insufficient fund or ( dead lock) if the messages not processes at the near
> real time they come .
>
> note :my business handle the dead lock insufficient fund case by re-ordering
> the message manually . what i looking for is to minimize the occurrence of
> that case specially if  time when sending those messages is different (up to
> 1-3 seconds  ).
>
> I may change my approach and send those crucial  messages from different
> customers to single queue but i need to transfer some of my business which
> decide if this message is crucial to customer side .
>
> i hope the the case clear now
>
> Thanks again .
>
>
>
>
>
> -----
> Othman Darwish
> ProgressSoft Corp.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Consuming-messages-from-multiple-AMQ-queues-and-forward-it-to-single-AMQ-queue-concern-tp5752514p5752544.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message