Adding a routing endpoint

Overview

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.

Procedure

To add an endpoint to a routing context:

  1. In JMX Navigator, select the Endpoints child under the routing context node for which you want to add an endpoint.

  2. Right-click it to open the context menu, and then select Create Endpoint.

  3. In the Create Endpoint dialog, enter a URL defining the new endpoint.

    (For example, file://target/messages/validOrders.)

  4. Click OK.

  5. Right-click the routing context node, and select Refresh.

    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]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.

Related topics

Deleting a routing endpoint