camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Netty consumer fixed message size.
Date Tue, 06 May 2014 11:33:43 GMT

Its more of a netty question than Camel. You need to use a netty codec
that matches the protcol you use for the data transfer. Is it 100
fixed length, or is it something else. eg how do you know when you got
all the data for a "single message".

There is some out of  the box codec's for fixed length, line
terminator etc codecs that netty/camel supports.

On Tue, May 6, 2014 at 9:08 AM, Cecilio Alvarez
<> wrote:
> Thanks Claus for your answer.
> I'm sure I'm sending blocks of 100 bytes.
> You are right, sometimes is posting to the route two or more of this blocks
> together.
> Is there a way to ensure that each 100 bytes received, the netty component
> will post a new message?
> Or I have to create a custom decoder with a variable length as you
> suggested?
> Thanks you in advance.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message