Creating the message flow
Download the zip file at the bottom of the article and extract the contents into the directory
This zip file provides a template spreadsheet file that the message flow interacts with, and a test file that you will use later to test the completed scenario.
- Assuming that the WebSphere Message Broker Toolkit has not yet been started, from the Start menu, choose Start => Programs => IBM WebSphere Message Broker Toolkit =>
IBM WebSphere Message Broker Toolkit 8.0 => WebSphere Message Broker Toolkit 8.0. You will be asked for the location of a workspace -- the rest of this tutorial assumes that you are
- Close the Welcome screen and from your empty workspace, launch the Quick Start wizard by clicking Start by creating an application, as shown below with the red box.
If you are using your own existing workspace, you can also launch the Quick Start menu by clicking on New at the top of the Broker Development view on the left side of the window.
- The Quick Start wizard requires an Application name. Specify
App_DotNet_MSExceland click Finish:
- In the Application Development window, click New, which is underneath the application you just created.
Then on the pop-up New Artifact window, select Message Flow, as shown below:
- In the New Message Flow wizard that is launched, specify a Message Flow name of
MyFlow. Click Finish:
- After the message flow has been created, drag and drop nodes from the message flow palette onto the empty flow canvas. Take a File Input node and a File Output node from the File drawer.
Later in the tutorial you will add a .NETCompute node from the Transformation drawer by simply dragging and dropping a .NET assembly .dll file on to the flow canvas.
You will also wire the node terminals and set the properties of the flow nodes, but for the moment, the flow should look like this:
- Go to the Windows start menu and launch Microsoft Visual Studio, which you will use to develop the C# code that the .NETCompute node will use to integrate with the logical message tree and produce the Microsoft Excel spreadsheet.
You will return to the message flow once you have written and built the C# code in Microsoft Visual Studio.