Thank you very much,it is ok.But the redirect has cach as below:
<http://camel.465427.n5.nabble.com/file/n5745045/1D95CAC6-DAA4-4F24-B84C-0A35EEA85FCC.jpg>
 
if I do as below :it has cach as the pictiure,but I need not the cach.Can it
remove the cach?
<route id="camel-http-proxy-manager">
      <from
uri="jetty://http://192.168.0.148:8000/mymanager/?matchOnUriPrefix=true&amp;sessionSupport=true"/>
           <process ref="myCode"/>
      
       <choice>
               
                <when>
                    <simple>${header.sessionId} == 0</simple>
                   
                </when>
                <otherwise>
                    <to
uri="http://192.168.0.156:8181/mymanager/?bridgeEndpoint=true&amp;throwExceptionOnFailure=false";
/>
                   
                </otherwise>
            </choice>
    </route>
message.setHeader("location",
"http://192.168.0.154:8181/uiserver/thinknet/user/login.jsp";);
                        message.setHeader("CamelHttpResponseCode", 301); 




--
View this message in context: 
http://camel.465427.n5.nabble.com/can-camel-used-for-Single-Sign-On-tp5744926p5745045.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to