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.
Before you begin
- Install Microsoft Visual Studio 2019.
- Create a message flow that contains a .NETCompute node.
Tip: If the IBM® App Connect
Enterprise Toolkit is
installed after Microsoft Visual Studio,
the integration node Project templates will be automatically installed
ready for you to use. However, if the IBM App Connect
Enterprise 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 App Connect
Enterprise Toolkit, the file can be
found at the location C:\Program Files\IBM\ACE\13.0.n.0\tools\iibt.
About this task
- 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.
For information about the .NET classes and methods that are supported in IBM App Connect Enterprise, see the .NET API documentation.
Procedure
- Double-click the .NETCompute node.
- In Microsoft Visual Studio, 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.