It depends on where do you want to decrypt the header.
If you want to do it before sending, you can add a Processor[1] or Bean[2] to do the work.

If you want to do it before consumer receives the message, you need to find other way to do it.

[1]http://camel.apache.org/processor.html
[2]http://camel.apache.org/bean.html

On Thu Feb 16 00:33:21 2012, balsmn wrote:
hi all,

I have a destination by name "testQueue", to which messages sent, all have a
custom header in encrypted form. Before, consumers of this destination,
receive a message, I need to decrypt this header.

is there any camel way of doing it ? or doing it with the help of ActiveMQ
plugin is the only way ?

Thanks.



--
View this message in context: 
http://camel.465427.n5.nabble.com/intercept-message-delivery-tp5486605p5486605.html
Sent from the Camel - Users mailing list archive at Nabble.com.




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang Weibo: willemjiang

Reply via email to