When testing a new scenario, it is convenient to add a new endpoint to a routing context. The tooling provides a menu choice for adding a routing endpoint with a single click.
To add an endpoint to a routing context:
In JMX Navigator, select the Endpoints child under the routing context node for which you want to add an endpoint.
Right-click it to open the context menu, and then select .
In the dialog, enter a URL defining the new endpoint.
(For example, file://target/messages/validOrders.)
Click .
Right-click the routing context node, and select .
The new destination appears in JMX Navigator under the Endpoints node, in a folder corresponding to the type of endpoint it is (for example, file).
![]() | Note |
|---|---|
The new endpoint also appears in Project Explorer, in the project's Target folder under the node that corresponds to the endpoint's URL, but only after you have refreshed the root project. This folder, created by Camel, is not used by the tooling, so you can safely delete it using its context menu. |