Re: Injecting/Override the camel route with custom ID

2019-10-01 Thread Chio Chuan Ooi
col://") > .process(exchange -> exchange.getIn().setHeader("someId","someValue")) > .toD("anotherProdocol://?${header.someId}"); > > /Björn > > > From: Chio Chuan Ooi > Sent: Tuesday, October 1, 2019 11:18

Re: Injecting/Override the camel route with custom ID

2019-10-01 Thread Björn Þór Jónsson
someId","someValue")) .toD("anotherProdocol://?${header.someId}"); /Björn From: Chio Chuan Ooi Sent: Tuesday, October 1, 2019 11:18 AM To: users@camel.apache.org Subject: Injecting/Override the camel route with custom ID Hi, i have projec

Injecting/Override the camel route with custom ID

2019-10-01 Thread Chio Chuan Ooi
Hi, i have project that which having a lot of the route was never assigned with id, is that any way to create class that extending the RoutePolicySupport and override the route id based on the endpoint so that or custom prefix ? or may be RouteDefinitionHelper can be use instead? Thanks and Reg