WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Setting message flow user-defined properties at run time in a CMP application
Use the CMP API to query, discover, and set message flow user-defined properties dynamically at run time. You can use the CMP API to set properties with a data type of character.
For user-defined properties on a message
flow to be discoverable, the message flow must comply with the following
conditions:
- The message flow must contain at least one of the following nodes:
- JavaCompute
- Compute
- Database
- Filter
- PHPCompute
- The message flow must define the relevant user-defined property and provide an override value.
Tip: Use meaningful names
and values for the properties that you define, so that you can understand
their purpose and intent quickly. For example, a user-defined property
named property01, with an
initial value of valueA is
not as useful as a property named RouteToAorB with
an initial value of RouteA.
To query, discover, and set user-defined properties on a message flow, use the CMP API to issue the following calls. For details about the calls, including the syntax and parameters to use, see the CMP API documentation (Message Broker API).