Re: How to set dynamic value to routeid

2019-10-08 Thread Claus Ibsen
Hi You cannot set a dynamic route id, its assigned once during starting the route. On Tue, Oct 8, 2019 at 7:15 PM Imran Raza Khan wrote: > > i tried following and its not working > > from("direct:test") > .routeId("${body.topicName}") > > from("direct:test") > .routeId(simple("${body.topicN

How to set dynamic value to routeid

2019-10-08 Thread Imran Raza Khan
i tried following and its not working from("direct:test") .routeId("${body.topicName}") from("direct:test") .routeId(simple("${body.topicName}").toString()) Above both didnt work