Re: RabbitMQ fanout exchange + request-reply + aggergator

2017-03-27 Thread dancsi
Hi Souciance, I did exactly what you propose in the second part of your reply. I split the flow into 2 steps: 1) send out the request to multiple consumers via the fanout exchange with inOnly pattern; 2) aggregate the reply messages in another route, that consumes the replies from a fixed

RabbitMQ fanout exchange + request-reply + aggergator

2017-03-27 Thread dancsi
I'd like to implement the request-reply pattern over RabbitMQ the following way: 1. The request is sent to a RabbitMQ fanout exchange (i.e. it will be received by multiple consumers) 2. Each consumer prepares and sends its on response (e.g. if they can fulfill the given request/order and at what

Re: Best Efforts 1 PC pattern - from MQ to DB

2014-06-06 Thread dancsi
Anyone having experience with IBM/WebSphere MQ? Shall I rely on WMQ Connection Factory caching or shall I rather configure Spring's CachingConnectionFactory? Thanks a lot, Dan -- View this message in context:

Re: Best Efforts 1 PC pattern - from MQ to DB

2014-06-04 Thread dancsi
There is just one more thing I don't see clearly. I found quite contradicting information about the use of pooled/cached connection factories. First, at http://tmielke.blogspot.com/2012/03/camel-jms-with-transactions-lessons.html I found that it's recommended to use pooled connection factory with

Re: Best Efforts 1 PC pattern - from MQ to DB

2014-06-03 Thread dancsi
Thanks a lot for your help. That's exactly what I needed to solve the problem. Dan -- View this message in context: http://camel.465427.n5.nabble.com/Best-Efforts-1-PC-pattern-from-MQ-to-DB-tp5751757p5751841.html Sent from the Camel - Users mailing list archive at Nabble.com.

Best Efforts 1 PC pattern - from MQ to DB

2014-05-30 Thread dancsi
I'm trying to implement/configure Best Efforts 1PC pattern for transactional consuming of MQ (IBM/WepSphere) messages and inserting/updating the DB (Oracle). Shall I use org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy over the MQ connection factory with Spring data

Re: JMS consumer failover

2014-05-16 Thread dancsi
Thanks for the reply. I will give it a try but based on the documentation I'm not quite sure if it works for other non-ActiveMQ JMS provider. -- View this message in context: http://camel.465427.n5.nabble.com/JMS-consumer-failover-tp575p5751209.html Sent from the Camel - Users mailing list

JMS consumer failover

2014-05-15 Thread dancsi
I have a primary and a backup JMS provider/server (Tibco EMS). The backup is running in standby mode and doesn't allow connections until the primary is running fine. I know that a Camel route can consume from multiple endpoints but how to do it with failover? By failover I mean that it should