Writing Java

When you create a message flow, you include input nodes that receive the messages and, optionally, output nodes that send out new or updated messages. If the processing that must be performed on the message requires it, you can include other nodes after the input node that complete the actions that your applications need.

Some of the built-in nodes allow you to customize the processing that they provide. With a JavaCompute node you can provide Java code to control precisely the behavior of the node. This set of topics discusses how you can use Java to customize the JavaCompute node.

Using a JavaCompute node you can check and manipulate message content. You can:
  • Read the contents of the input message
  • Construct new output messages that are created from all, part, or none of the input message

Use the Debug perspective to debug a message flow that contains a JavaCompute node. When control passes to a JavaCompute node during debugging, the perspective opens the Java debugger, allowing you to step through the Java class code for the node.

Related tasks
Accessing broker properties from the JavaCompute node
Managing Java Files
Related reference
JavaCompute node