You can use your own messageConverter with the camel-jms component and do all the to/from JMS yourselves. This is of course too much work. But that gives you full power.
You can use interceptors to match when sending to jms, where you can then transform the header to a valid JMS type. And then have a type converter on the other side to go from base64/String -> ByteSource http://camel.apache.org/intercept On Mon, May 6, 2013 at 7:49 AM, [email protected] <[email protected]> wrote: > Thank you for the reply. > Is there a way to make the type converter work for camel header? > Currently, I have a camel processor to reset the base64 shiro token to > ByteSource, on the side where authentication has to be done > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-can-Shiro-be-used-with-camel-to-limit-access-to-a-route-tp5521623p5732055.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
