Hi You cannot change this at runtime, as its setup once. An alternative is to use a dynamic router, dynamic to (toD) or from your processor add some java code with indirection where you can have support for changing the lookup of what to call and then invoke the actual bean/processor.
On Mon, Jul 29, 2019 at 5:30 AM arshad dar <[email protected]> wrote: > > Hi > i have a camel route like this > > from("direct:a").process(processorRef) > > i want to change the processor reference at run time. > > > -- > Arshid -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
