Testing foreign bus connections

After you define a direct foreign bus connection between a service integration bus and either another service integration bus or a WebSphere® MQ queue manager, you can test the connection to check that it can be used to exchange messages.

Before you begin

To test a foreign bus connection, a service integration bus, known as the local bus, with a direct foreign bus connection to a service integration bus, or a WebSphere MQ queue manager must be defined.

About this task

You might want to test a foreign bus connection before you send messages that use that connection, or if you have difficulty sending and receiving messages that use that connection. You can test only direct foreign bus connections. You cannot test indirect foreign bus connections, because it might not be possible to reach the target destination bus.

If a connection name list is provided in the WebSphere MQ link sender channel properties, the connections are tried in the order in which they are specified in the connection list until a connection is successful. If no connection is successful an error message is logged.

Procedure

  1. In the navigation pane, click Service integration -> Buses.
  2. In the Buses pane, click the bus that has the connection you want to test.
  3. In the configuration tab, under Topology, click Foreign bus connections.
    A list of foreign bus connections is displayed.
  4. Select the check box for the connection you want to test.
  5. Click Test Connection.
    A message is displayed that shows the result of the test.

Results

You have tested a bus connection.