Hi Content Enricher EIP is the pattern your are looking for.
On Tue, Mar 9, 2010 at 1:53 AM, Tapdur <[email protected]> wrote: > > Hi all, > > i have newbie question relative to EIP pattern, i don't see wich one > correspond to my pb. > (to simplify) : > > i send an order to "direct:order" > > from (direct:order") > .to(direct:generateOrder-id) > .to(direct:printOrder); > > from(direct:generateOrder-id") > .to(http:///...) > > from(direct:printOrder) > ... > > My issue is printOrder must be proceed after generation of the order-id BUT > the endpoint generateOrder-Id is an http request and put its result in the > out.setBody() and when i arrive in "direct:printOrder) i lost te initial > order. > > The process i want is when i receive an order, i generate an order-id and > call the direct:printOrder with the initial order and the new order-id ? > > any suggestion ? > > Thx > Bruno > > -- > View this message in context: > http://old.nabble.com/wich-EIP-to-use---tp27829976p27829976.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
