WebSphere Message Brokers
File: ac30240_
Writer: Catherine Tucker

Task topic

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

Creating Java code for a JavaCompute node

Before you start

To complete this task, you must have added a JavaCompute node to your message flow.

To generate template code perform the following steps:

  1. Right-click the node and click Open Java.
  2. Step through the JavaCompute node wizard until you reach the Java Compute Node Class Template page. On this page choose one of the following options:
    • For a filter node template code, choose Filtering Message Class.
    • To change an incoming message, choose Modifying Message Class.
    • To create a new message, choose Creating Message Class.
    You have now created template code for your JavaCompute node.
Alternatively, you can associate a JavaCompute node with an existing Java class that the wizard previously generated. This allows you to share the same Java code between multiple nodes. To associate a JavaCompute nodes with an existing Java class perform the following steps:
  1. Right-click the JavaCompute node and click Properties.
  2. Enter the name of the Java class in the Java Class field.
  3. Click OK. You have now associated your JavaCompute node with an existing Java class.
Related tasks
Managing Java Files
Writing Java
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:05

ac30240_ This topic's URL is: