Skip to Content
0
Jan 18, 2017 at 10:21 AM

Body length of an HCI message

2144 Views

How can I get the body length of an HCI message? In my scenario I have a sender Mail adapter but this question can be also generic.

Basically, I need to route the message if its body length is smaller than a certain value. I tried with the expression ${body.length} (from Apache Camel Simple Expression Language) but it is not accepted in the router.