camel-users mailing list archives

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

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?

Thanks,
Steve.
 



--
View this message in context: http://camel.465427.n5.nabble.com/Netty4-HL7-reject-messages-larger-than-a-specified-size-tp5793695.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message