WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Writing code for a .NETCompute node
Create code for message flows containing a .NETCompute node by double-clicking the node to start Microsoft Visual Studio.
- Install Microsoft Visual Studio 2010 or 2012. Some restrictions, for example .NET debugging, apply if you use the Express edition.
- Create a message flow that contains a .NETCompute node.
Tip: If the WebSphere® Message Broker Toolkit is
installed after Microsoft Visual Studio,
the broker Project templates will be automatically installed ready
for you to use. However, if the WebSphere Message Broker Toolkit is
installed first, you must manually install the Microsoft Visual Studio templates. This installation
can be achieved by running the file IBM.Broker.DotNet.vsix and
stepping through the wizard (accepting the license file as part of
the process). If the default installation location was used for WebSphere Message Broker Toolkit, the file can be found at
the location C:\Program
Files (x86)\IBM\WMBT800\wmbt.
You write and compile your code in Microsoft Visual Studio. The following WebSphere Message
Broker templates are provided to get
you started in C#, Visual F#, and Visual Basic:
- Create a Message Broker message. This class also provides a method to copy message headers from an incoming message.
- Filter a Message Broker message.
- Modify a Message Broker message.
- Double-click the .NETCompute node.
- In Microsoft Visual Studio 2010 or 2012, navigate to your project, and add the appropriate class from the Message Broker templates.
- Expand the UserCode region, and write your code. Content assist is available in this region. Press Ctrl+Space to invoke it.
- Save the class and build the solution, making a note of the path to the assembled file.