Pretty sure I've done this kind of thing before. I think the info is here
https://stackoverflow.com/questions/48380456/dynamic-routing-apache-camel
On Tue, Oct 3, 2023, 3:22 AM Claus Ibsen wrote:
> Hi
>
> If you use Java RouteBuilder, then you can maybe use spring dependency
> injection, to inj
I have a route and a routeConfiguration. I want to remove both from the
CamelContext.
I tried it like this:
String routeId = route.getId();
String routeConfigurationId = route.getConfigurationId();
//remove route
routeController.stopRoute(routeId, 30, TimeUnit.SECONDS);
context.removeRoute(route
Hi
I created a ticket
https://issues.apache.org/jira/browse/CAMEL-19945
On Tue, Oct 3, 2023 at 9:22 AM Claus Ibsen wrote:
> Hi
>
> If you use Java RouteBuilder, then you can maybe use spring dependency
> injection, to inject the topic name into a String field,
> and then use that field when bui
Hello.
After debugging the failing route, I think that the properties I put
in the map are correctly set when the data format is created, but not
used at all to read the XSD files. The method
"getJaxbProviderProperties" is not called during my execution.
Is it a bug ?
How can I make the data forma
Hi
If you use Java RouteBuilder, then you can maybe use spring dependency
injection, to inject the topic name into a String field,
and then use that field when building the route model.
However I have also thought of adding {{bean:xxx?method=aaa}} as a function
to property placeholder.
Though nee