Setting up the TCPIP Handshake sample
To set up the sample, complete the following steps:
- Import and deploy the sample to add the following directories to the workspace:
- TCPIPHandshakeSampleFlowProject. This project contains four sample message
flows, three .mbtest files, a broker archive (BAR) file
containing a compiled message flow, and an example input message for
extending the sample.
- TCPIPHandshakeSampleJavaProject. This project contains the source code for
the JavaCompute nodes that are used in the sample message flows.
- TCPIPHandshakeSampleMessageSet. This project contains the message set
for parsing the messages that are sent between the sample and TCP/IP client.
- The TCPIPHandshakeSampleJavaProject shows a warning after you have imported it:
List is a raw type. References to generic type list<E> should be parameterized.
However, this warning can be ignored.
- By default, this sample deploys the following objects to the
TCPIPHandshakeSampleExecutionGroup:
- TCPIPClientEmulation message flow
- TCPIPMQVeneer message flow
- MQServerEmulation message flow
- TCPIPHandshakeSampleJavaProject
- TCPIPHandshakeSampleMessageSet
- This sample assumes that port 7779 is available for use on the local
computer. If you want to use a different port for this sample
you must change the port number for all of the TCPIP nodes that are used in the
TCPIPClientEmulation and TCPIPMQVeneer message flows by using one of the following options:
- Click the node you want to change. In the Properties view,
on the Basic tab change
the Connection details property to
localhost:<port>,
where <port> is the port number that you want to use.
- Alternatively, you can override the
Connection details property in the Configuration
tab on the BAR file.
The Connection details property on the Basic tab looks like the
following screen capture:
You can now run the sample, see Running the TCPIP Handshake sample.
For an overview of how these nodes work and are configured,
see TCP/IP overview
in the WebSphere Message Broker documentation.
Back to sample home