extract http query param

Extract Query Parameter

Version: 17.07

Supported Since: 17.01

What is an Extract Query Parameter Processor?

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.

extract query param outports

Out Ports

Next

The message will be sent to this outport if extracting query param is successful

On Exception

The message will be sent to this outport if the processing element failed in extracting query param operation

Parameters

Query parameter name *

Basic

The name of the Query Parameter to be extracted

Variable Name *

Basic

The name of the Variable name which should be set using the extracted value

Sample Use Case

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.