extract http query param

Extract Query Parameter

Version: 17.01

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.

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.

extract_query_param_sample
Figure 1: extract_query_param_sample

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

extract_query_config
Figure 2: extract_query_config

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

In this topic
In this topic
Contact Us