Configuring a message flow at deployment time with user-defined properties

User-defined properties (UDPs) give you the opportunity to configure message flows at deployment and run time, without modifying program code. You can also use UDPs in your ESQL and Java programs. You can give the UDP an initial value when you declare it in your program, or when you use the Message Flow editor to create or modify a message flow.

Start of changeSee the DECLARE statement for an example of how to code a UDP statement.End of change

In ESQL, you can define UDPs at the module or schema level.

After a UDP has been defined by the Message Flow editor, you can modify its value before you deploy it.

To configure UDPs:

  1. Switch to the Broker Administration perspective.
  2. Double-click the broker archive (BAR) file in the Navigator view. The contents of the BAR file are shown in the Content editor.
  3. Click the Configure tab at the bottom of the Content editor.
    This tab shows the message flows in your broker archive, which you can expand to show the individual nodes that are contained in the flow.
  4. Click a message flow. The UDPs that are defined in that message flow are displayed with their values.
  5. If the value of the UDP is unsuitable for your current environment or task, change it to the value that you want. The value of the UDP is set at the flow level and is the same for all eligible nodes that are contained in the flow. If a subflow includes a UDP that has the same name as a UDP in the main flow, the value of the UDP in the subflow is not changed.
  6. Save your broker archive.

Now you are ready to deploy the message flow. See Deploying a broker archive file.

Related concepts
ESQL overview
User-defined properties
Related tasks
Designing a message flow
Defining message flow content
Editing configurable properties
Deploying a broker archive file
Promoting a property
Related reference
Compute node
Database node
DECLARE statement
Broker Archive editor
Message Flow editor
Configurable message flow properties
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:20:11

ac06007_