IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Accessing broker properties from the JavaCompute node

For each broker, IBM® Integration Bus maintains a set of properties. You can access some of these properties from your Java™ programs. It can be useful, during the run time of your code, to have real-time access to details of a specific node, flow, or broker.

Broker properties are divided into four categories:
  • Properties that relate to a specific node
  • Properties that relate to nodes in general
  • Properties that relate to a message flow
  • Properties that relate to the integration server

Broker properties that are accessible from ESQL, the Mapping node, and Java includes a table that shows the groups of properties that are accessible from Java. The table also indicates if the properties are accessible from ESQL.

Broker properties have the following characteristics.
  • They are grouped by broker, integration server, flow, and node.
  • They are case sensitive. Their names always start with an uppercase letter.
  • They return NULL if they do not contain a value.
To access broker properties in a JavaCompute node, call methods on the following classes:
  • MbBroker
  • MbExecutionGroup
  • MbMessageFlow
  • MbNode
For example:
String brokerName = getBroker().getName();

ac30210_.htm | Last updated Friday, 21 July 2017