Customize a JavaCompute node to access properties that you have associated with the message flow in which the node is included.
public void onInitialize() throws MbException
{
// access the user-defined properties here
}
You can use the IBM® Integration API (also known as the CMP) to change the value of user-defined properties. The getUserDefinedAttribute() method is not supported for User-Defined Nodes (UDN). Use the getUserDefinedPropertyNames(), getUserDefinedProperty(), and setUserDefinedProperty() methods to query, discover, and set user-defined properties, as described in Setting message flow user-defined properties at run time in a CMP application.