Distributed variables
During document processing, you can use distributed variables in the distributed store. The distributed store is the gateway-peering instance.
Distributed variables provide you with a mechanism to read from or write to DataPower® facilities across transactions or domains. Distributed variables are an alternative to system variables.
To use distributed variables in the distributed store, you must complete the following procedures.
- Configure the gateway-peering instance for distributed variables. See Configuring settings to manage distributed variables.
- Define distributed variables.
You can manage distributed variables with only the following approach.
- With the APIs in the GatewayScript distributed-metadata module.
- With global commands.
- Create a distributed variable with the set-dist-var command.
- Get the value for a distributed variable with the get-dist-var command.
- Delete a distributed variable with the delete-dist-var command.
- With DataPower extension elements and functions in XSL stylesheets.
- Create a distributed variable with the dp:set-dist-variable element.
- Get the value for a distributed variable with the dp:get-dist-variable() function.
- Delete a distributed variable with the dp:delete-dist-variable element.