Re: RecipientList with bean method to set HTTP endpoint string

2012-07-10 Thread rhowlett
Using the @RecipientList annotation worked. The new component receives the exchange that was modified by the bean method. Thanks Claus. On Tue, Jul 10, 2012 at 12:33 AM, Claus Ibsen-2 [via Camel] < ml-node+s465427n5715793...@n5.nabble.com> wrote: > Hi > > There is a @RecipientList annotation you

Re: RecipientList with bean method to set HTTP endpoint string

2012-07-09 Thread Claus Ibsen
Hi There is a @RecipientList annotation you can use in a method in a bean. And then use a bean in the DSL, eg either .bean / .beanRef / or .to("bean:xxx") etc. Your use-case is a bit unusual as you set the body to null, and therefore accesses the Exchange directly. And accordingly to the EIPs yo