Ok I have found the bug: ShiroSecurityTokenInjector creates a bytearray and puts it in the message header.
The bytearray do not pass through openwire... But the bytearray content is a string text with only ascii chars! So I manually put it as an header of string type. -- View this message in context: http://camel.465427.n5.nabble.com/How-can-Shiro-be-used-with-camel-to-limit-access-to-a-route-tp5521623p5621207.html Sent from the Camel - Users mailing list archive at Nabble.com.