2 Replies Latest reply on Jan 30, 2008 3:51 AM by gnodet_gnodet

    Camel in ServiceMix and MessageExchanges

    jcrean

      Hi Folks

      I am trying to get my head around the directional aspect of MessageExchanges flowing to a camel component in ServiceMix.

      Does camel have a default InOut flow? If I have a FilePoller (defaults to InOnly) bc and I need to transform the file in Camel, do I need something like a pipeline in order to talk to camel?

      thanks

      Joe

        • 1. Re: Camel in ServiceMix and MessageExchanges
          jcrean

          Hi Folks

          sorry, just read the thread below and it seems that camel can handle these MEPs a little more subtly i.e . it seems to depend on how the camel route is set up. So I guess my new question is: is it really that flexible wrt MEPs?

          thanks,

          joe

          • 2. Re: Camel in ServiceMix and MessageExchanges
            gnodet_gnodet
            jcrean wrote:

            Hi Folks

            sorry, just read the thread below and it seems that camel can handle these MEPs a little more subtly i.e . it seems to depend on how the camel route is set up. So I guess my new question is: is it really that flexible wrt MEPs?

            thanks,

            joe

             

            Yeah, Camel is really flexible wrt MEPs.  In a pipeline, if a component set the Out message, the next component will receive the Out as the In message of a new exchange.  If not, the next component will receive the same In message as the previous component.  The result is more flexible, but a bit less enforceable, so you need to pay attention to the way the route is set up and what components are used.