Hi,

How to set Cookie before routing the request another service URL?

I am trying to develop a route which receives the JSON request and set the
values from JSON to HttpServletRequest Attribute 
and sets the cookie on the request which is saved in DB and routes it to
another URL.

<camelContext xmlns="http://camel.apache.org/schema/spring";>

        <dataFormats>
                        <json id="requestVO" library="Jackson"
unmarshalTypeName="com.app.RequestVO" />
                        <json id="responseVO" library="Jackson"
unmarshalTypeName="java.util.HashMap" />
        </dataFormats>

        <route>
                        <from uri="servlet:///getData" />
                        <unmarshal ref="requestVO" />
                        <process ref="getAutheticationDummyProcessor" />
                        <to uri="http://localhost:7488/getTheData";>
                        <marshal ref="responseVO" />
        </route>

</camelContext>


Thanks,
Abhi


--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-set-Cookie-before-routing-the-request-to-another-service-URL-tp4987385p4987385.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to