Special register names can be preceded with a namespace prefix. The namespace is simply the first part of the name before the first decimal. For example, register xyz is in the default namespace, while register abc.xyz is in the abc namespace. This notation is compatible with registers defined in the iWay Service Manager SP1 registry as well as existing notation. IWAF context registers also follow this pattern, as does the iway.home register, which can be considered as the home in the iWay namespace. Only register names that do not contain any decimals are namespace-less, which is to say in the default namespace.
The HTTP/ASx listener is extended to place all incoming header information into a configured namespace. If no namespace name is specified, the default namespace (none) is be used. The HTTP/ASx emitter and the associated agents have new configuration parameters, which are listed and described in the following table.
Parameter |
Role |
---|---|
request namespace |
The output headers are taken from the configured namespace. This is a combo box, enabling a user to select a pre-defined setting or enter the name of a specific namespace as the source of headers. Selections and their meaning are:
|
response namespace |
If there is a response with headers, then the incoming headers are placed in this namespace. The selections and their meaning are:
|
Excluded Headers |
This is a comma delimited list (case-insensitive) of headers that should not be sent with the response, even if they are found in the response header namespace. |
A new agent called XDSREGNamespaceAgent, is available to perform the following operations on registers in namespaces:
The XDSREGNamespaceAgent offers from name and to name combo-box parameters. Each of these parameters offers the [listener] and [default] options which are interpreted as described above.