Hi,

I develop a system where a *producer* sends some messages to a *consumer* in
3 ordered asynchronous steps.

Step1:
    this.from("jms:queueProducer")
         .process(new SomeProcessProcessor())
         .to("jms:queueProducerReply");

Step2:
    this.from("jms:queueProducer")
         .process(new SomeOtherProcessProcessor())
         .to("jms:queueConsumerReply");

Step3:
    this.from("jms:queueConsumer")
         .process(new SomeAnotherProcessProcessor())
         .to("jms:queueConsumerReply");

I need to correlate three routes with JMSCorrelationId. So after 1st and 2nd
process i need to persist the message inside a DB and before 2nd and 3rd i
need to load the message from DB.

The question is should i write this mechanism manually or i can use one of
the database endpoints like BAM? 

--
View this message in context: 
http://camel.465427.n5.nabble.com/Correlated-Routes-with-or-without-BOM-tp5601401p5601401.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to