rapt
rapt

Reputation: 12230

Hawt.io + Camel + Java DSL + route id

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

Answers (1)

Souciance Eqdam Rashti
Souciance Eqdam Rashti

Reputation: 3191

You can set it like this:

from("file://").routeId("file_consumer")

Upvotes: 4

Related Questions