- 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 IBM® Integration Toolkit is
installed after Microsoft Visual Studio,
the broker Project templates will be automatically installed ready
for you to use. However, if the IBM Integration 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 IBM Integration Toolkit, the file can be found at
the location C:\Program
Files (x86)\IBM\IntegrationToolkit90\wmbt.
You write and compile your code in
Microsoft Visual Studio. The following
IBM Integration Bus templates are provided to get
you started in C#, Visual F#, and Visual Basic:
- Create an IBM Integration message. This class
also provides a method to copy message headers from an incoming message.
- Filter an IBM Integration message.
- Modify an IBM Integration message.
- Double-click the .NETCompute node.
- In Microsoft Visual Studio 2010 or
2012, navigate to your project, and add the appropriate class from
the IBM Integration 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.