Friday 10 January 2014

Configuring a message flow at deployment(promote properties)

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

Use user-defined properties (UDPs) to configure message flows at deployment and run time, without modifying program code. You can give a 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.
For an overview of user-defined properties, see User-defined properties.
See the DECLARE statement for an example of how to code a UDP statement.
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 or Broker Application Development perspective.
  2. Double-click the broker archive (BAR) file in the Navigator view. The contents of the BAR file are shown in the Manage and Configure page of the Broker Archive editor.
  3. Click the Manage and Configure tab. This tab shows the message flows in your broker archive; expand a flow to show the individual nodes that it contains.
  4. Click the message flow that you are interested in. The UDPs that are defined in that message flow are displayed with their values in the Properties view.
  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.

No comments:

Post a Comment