Associating code with a .NETCompute node
To associate your compiled code assembly with a .NETCompute node, complete the Assembly name and Class name properties on the node.
About this task
Your message flows can call .NET assemblies. You write and maintain your .NET code in Microsoft Visual Studio. You develop your message flows in the IBM® App Connect Enterprise Toolkit, which runs in an Eclipse framework. It is suggested that you keep the assemblies in the Visual Studio framework; do not import them into the IBM App Connect Enterprise Toolkit.
You can also drag an existing .NET assembly or .NETCompute node onto the canvas, and then follow the prompts to create this association. The assembly must contain an implementation of a .NETCompute node.
For information about the .NET classes and methods that are supported in IBM App Connect Enterprise, see the .NET API documentation.
Procedure
- Create a message flow that contains a .NETCompute node. For example, create a message flow containing an MQInput node, a .NETCompute node, and an MQOutput node.
- On the Basic tab of the .NETCompute node, set the Assembly
name property to point to the assembly that contains your
compiled code. You can either type the full path name of the file into the field, or select Browse to navigate to .exe and .dll files stored on the file system.
- Optional: Specify the name of the class within the assembly.
- Save the message flow.