Create the foreign destination (optional)
Note: A foreign destination is only required if the sample application will be connected to a WebSphere MQ server via a foreign Service Integration Bus definition.
The steps to define a foreign destination are detailed in Define a foreign destination. Use the steps to define a foreign destination on the TEST_LOCAL_SIBUS with the following properties:
Table A-5
Field Value Destination type Foreign Name ForeignQueue Bus TEST_FOREIGN_SIBUS Foreign destination properties
Note: The name property must match a queue name on the WebSphere MQ server to which messages will be transmitted.
For the sample application a remote queue named ForeignQueue will be defined to route messages sent to MQ back to the LocalQueue on the application server. This simplifies the sample application as applications cannot read from foreign destinations.