You can just set the message header with the http response code and location
with the url just like this.
message.setHeader("location",
"http://127.0.0.1:8181/uiserver/thinknet/index.jsp");
message.setHeader(“CamelHttpResponseCode”, 301);
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/)
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On December 17, 2013 at 7:46:39 PM, yudiao123 ([email protected]) wrote:
>
> How can I do it?Thank you
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/can-camel-used-for-Single-Sign-On-tp5744926p5744940.html
>
> Sent from the Camel Development mailing list archive at Nabble.com.
>