On Wed, May 19, 2010 at 11:22 AM, Klug, Johannes <[email protected]> wrote: > Dear list, > > I'd like to implement the "Return Address" pattern [1] in conjunction > with the "Message Sequence" [2] pattern, both from the EIP book. > Camel documentation has some bits about Return Address - namely using > JMSReplyTo in JMS systems[3]. > However, this seems limited to one reply per request. I'd like to send a > number of messages in reply to a single request, and they should all go > to the address stated in the original request. > > My question is: Can Camel support the Return Address pattern for more > than one reply per request?
You can use a bean and have it send the messages to whatever you want http://camel.apache.org/pojo-producing.html > > Kind regards, > Johannes > > > [1] http://eaipatterns.com/ReturnAddress.html > [2] http://eaipatterns.com/MessageSequence.html > [3] http://camel.apache.org/return-address.html > > > > > Please help Logica to respect the environment by not printing this email / > Pour contribuer comme Logica au respect de l'environnement, merci de ne pas > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen > Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a > respeitar o ambiente nao imprimindo este correio electronico. > > > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any attachment > and all copies and inform the sender. Thank you. > > > -- 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
