2 Replies Latest reply on Feb 25, 2010 3:53 PM by Scott Cranton

    Strategy advice for correlated route

    Scott Cranton Newbie

      I have scenario where I need to wait on two things before moving on to the next steps:

       

      1) response from an InOut call to an external service

       

      AND

       

      2) database row field value to change (with exception timeout handling)

       

      If it wasn't for the database poll, it looks like multicast would do the job. I've even looked at using pollEnrich with the database call, but that doesn't look like it will work either.

       

      I also need to handle the exception that the database value does not change within a fixed timeout.

       

      Thoughts on the best way to structure a route(s) to handle this scenario?

       

      I am using Camel 2.2.0.

       

      Thanks