Version: 17.07
Supported Since: 17.01
Extract Query Parameter Processor is a processing element which can be used to extract a query parameter from an integration flow and set it to a scope variable.
In order to use this processing element, you must first select the HTTP NIO Connector dependency from the connector list when you are creating an empty Ultra project. If you have already created a project, you can add the HTTP NIO Connector dependency via Component Registry. From Tools menu, select Ultra Studio → Component Registry and from the Connectors list, select the HTTP NIO Connector dependency. |
In the following diagram there is an integration flow which takes the message in from a http ingress connector and sends out using an http egress connector. During the integration I want to extract out an query parameter which was in the original HTTP request and set it to a scope variable for later use. In the next processing element I have used a Logger to log the extracted scope variable.
Configuration for the Extract Query Parameter element is as follows. To extract a query parameter and set it to a variable, we refer query parameter using it’s name and give a scope variable name to use