Adding Register Sets

How to:

In iWay Service Manager, a Special Register (SREG) is a name-value pair that defines a variable that is carried throughout the system. Once defined, this variable is available to be bound to all components of the system. For example, a document arriving on HTTP can report its origin IP address in the special register IP. Using the expression _sreg(IP) in the channel directs the output onto a queue with the name of the IP address. For a complete list of special registers provided, see the iWay Service Manager Programmer's Guide. For more information on defining a special register of your own, see Configuring General Properties Using the Console.

A common use of special register routing is to send the contents of a document to the appropriate database instance configured for the internationalization encoding of the document. You can use all of the iWay-supplied special registers to route a document dynamically.

Procedure: How to Add a Register Set

To add a register set to a channel:

  1. In the left console pane of the Registry menu, select Channels.

    The Channels pane opens.

  2. Click Regs for the channel you want to modify.

    The Assign register pane opens.

  3. Select a register and click Finish.
  4. Click Back to return to the Channels pane.
    If a register set is added to a channel, the channel must be rebuilt and redeployed for new values to take effect.