Ah you wanted dynamic URIs - I thought you meant you wanted the initial route configured at startup (i.e. once). enrich() doesn't support dynamic URIs ATM. See https://issues.apache.org/jira/browse/CAMEL-4596 for more info and work around. Basically you have to create a bean that then uses a consumer template to consume from whatever URI you want.
On Tue, May 7, 2013 at 9:10 AM, Al Ferguson <alfer...@hotmail.com> wrote: > Yes I see, thanks for the proposal. However the properties are immutables, > right? > > For steps 1 and 3, I'll use a Header and a RecipientList. > > But it seems I cannot use a RecipientList for the second step, the > *enricher*. Any possibilities anyone? Claus? > > Thanks, > Al. F > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-replace-hard-coded-URIs-tp5732083p5732122.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Cheers, Jon --------------- Red Hat, Inc. Email: jans...@redhat.com Web: http://redhat.com Twitter: jon_anstey Blog: http://janstey.blogspot.com Author of Camel in Action: http://manning.com/ibsen