WebSphere Message Brokers
File: ac30200_
Writer: Catherine Tucker

Task topic

This build: July 31, 2007 21:20:02

Developing Java

When you use the JavaCompute node, you customize it to determine the exact processing that it provides.

To tailor the behavior of each node, create a Java class file that provides the processing that you want. Java files are managed through the Java perspective.

You can add any valid Java code to a JavaCompute node, making full use of the Java user-defined node API to process an incoming message. You can use the Java editing facilities of the Eclipse platform to develop your Java code. These facilities include:
  • Code completion
  • Integrated Javadoc documentation
  • Automatic compilation

The Java user-defined node API includes some extra methods that simplify tasks that involve message routing and transformation. These tasks include accessing named elements in a message tree, setting their values, and creating elements, without the need to navigate the tree explicitly.

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, and you can step through the Java class code for the node.

This section provides the following information on developing Java:
Related concepts
Message flows overview
Message mappings overview
Related tasks
Developing message flows
Debugging a message flow
Related reference
JavaCompute node
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:20:02

ac30200_ This topic's URL is: