Suchen

Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 24. Managing routing endpoints

download PDF

The JMX Navigator view lets you add or delete routing endpoints.

Important

These changes are not persistent across routing context restarts.

24.1. Adding a routing endpoint

Overview

When testing a new scenario, you might want to add a new endpoint to a routing context.

Procedure

To add an endpoint to a routing context:

  1. In the JMX Navigator view, under the routing context node, select the Endpoints child to which you want to add an endpoint.
  2. Right-click the selected node to open the context menu, and then select Create Endpoint.
  3. In the Create Endpoint dialog, enter a URL that defines 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 the JMX Navigator view under the Endpoints node, in a folder that corresponds to the type of endpoint it is, for example, file.

24.2. Deleting a routing endpoint

Overview

When testing failover scenarios or other scenarios that involve handling failures, it is helpful to be able to remove an endpoint from a routing context.

Procedure

To delete a routing endpoint:

  1. In the JMX Navigator view, select the endpoint you want delete.
  2. Right-click the selected endpoint to open the context menu, and then select Delete Endpoint.

    The tooling deletes the endpoint.

  3. To remove the deleted endpoint from the view, right-click the Endpoints node, and select Refresh.

    The endpoint disappears from the JMX Navigator view.

    Note

    To remove the endpoint’s node from the Project Explorer view without rerunning the project, you need to explicitly delete it by right-clicking the node and selecting Delete. To remove it from view, refresh the project display.

Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.