I have a route as follows

rest("myapplication")
   .get("/{pathPram1}")
   .outType(MyClass.class)
   .to("direct:myroute")

Camel by default adds a routeId to it as "routexx"

I want to set a meaningful route-id to the above
1. To turn logging on off for certain routes.
2. When I look at the routes via JMX I can easily figure it out which one
it is.

Is there an easy way to accomplish the above?

Regards,

Rajith Muditha Attapattu <http://rajith.2rlabs.com/>

Reply via email to