Supported Since: 17.01
Extract HTTP Cookie Property is a processing element which can be used to extract a HTTP properties from an integration flow and set it to a scope variable. Using this processing eelment can be extract following HTTP properties.
Message Entity Size
Message Header Size
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.
The message will be sent to this outport if extracting HTTP property is successful
The message will be sent to this outport if the processing element failed in extracting HTTP property operation
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 HTTP cookie 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 HTTP Property element is as follows. To extract a HTTP cookie and set it to a variable, first we want select cookie from Property drop down, refer cookie value using it’s name and give a scope variable name to use