Hi, The motivation is to protect the system from dealing with a message that larger than anticipated.
Ideally I want to do this as the message is streamed to us, rather than doing any type of conversion to string after it's already been fully received. I also don't want to wait for the codec to fully convert the message to a byte array, I'd prefer to be able to handle this in Netty somehow, so that as the arriving packets are added to the buffer, as soon as a maximum size is breached, then whole message is aborted. Really appreciate any ideas on the best approach. Thanks again, Steve. -- View this message in context: http://camel.465427.n5.nabble.com/Netty4-HL7-reject-messages-larger-than-a-specified-size-tp5793695p5794136.html Sent from the Camel - Users mailing list archive at Nabble.com.
