http cookie setter

HTTP Cookie Setter

Version: 17.07

Supported Since: 17.07

HTTP Cookie Setter Processor is a processing element which can be used to set HTTP cookie into header of the given message to an integration flow message which is supposed to send out using a HTTP egress connector.

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.

http cookie setter outports

Out Ports


The message will be sent to this outport if setting http cookie is successful

On Exception

The message will be sent to this outport if the processing element failed in setting http cookie operation


Cookie Name *


The name of the cookie

Cookie Value *


The value of the cookie

Path *


The subset of URLs to which this cookie applies

Domain *


The domain for which the cookie is valid

Age *


The Max-Age attribute defines the lifetime of the cookie, in seconds.

Secure *


Secure true if cookie is secure

Sample Use Case

In the following diagram (figure 1) there is an integration flow which takes the message in from a http ingress connector and sends it out to a another http endpoint using http egress connector. The requirement is to set HTTP cookie into header of the HTTP request which sends out from the egress connector.

I have added an HTTP Cookie Setter processing element before the egress connector with the configurations as shown in the figure 2

Figure 1: http_cookie_setter_sample

Configuration for the Forward URL Postfix Setter element is as follows. To set postfix to the url, we gives cookie name and cookie value.

Figure 2: http_cookie_setter_config
In this topic
In this topic
Contact Us