Reputation: 12230
When using Spring XML to create routes, Hawt.io uses the route id as the name of the route. How can I pass that name to Hawt.io when I create routes with Java DSL?
Upvotes: 1
Views: 631
Reputation: 3191
You can set it like this:
from("file://").routeId("file_consumer")
Upvotes: 4