camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slew77 <>
Subject Netty4 HL7 - reject messages larger than a specified size
Date Wed, 08 Feb 2017 18:16:30 GMT

We are using netty4 and the camel hl7 codecs to read in hl7 messages. I
would like to reject messages larger than a certain size, but I can't find
an obvious way to do so.

I was going to enable stream caching and add a processor to the route to
check the size, but the codec produces a string or byte array, so i never
see the stream.

What's the correct way to do this please?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message