Hi I have created a ticket for it https://issues.apache.org/activemq/browse/CAMEL-1305
And will commit a fix shortly. Then DEFAULT is added as option and will be used by default :) Thanks for reporting. On Thu, Jan 29, 2009 at 5:08 PM, Claus Ibsen <[email protected]> wrote: > I can find these in the mina source > > public class LineDelimiter { > /** > * the line delimiter constant of the current O/S. > */ > public static final LineDelimiter DEFAULT; > > static { > ByteArrayOutputStream bout = new ByteArrayOutputStream(); > PrintWriter out = new PrintWriter(bout); > out.println(); > DEFAULT = new LineDelimiter(new String(bout.toByteArray())); > } > > /** > * A special line delimiter which is used for auto-detection of > * EOL in {...@link TextLineDecoder}. If this delimiter is used, > * {...@link TextLineDecoder} will consider both <tt>'\r'</tt> and > * <tt>'\n'</tt> as a delimiter. > */ > public static final LineDelimiter AUTO = new LineDelimiter(""); > > /** > * The line delimiter constant of UNIX (<tt>"\n"</tt>) > */ > public static final LineDelimiter UNIX = new LineDelimiter("\n"); > > /** > * The line delimiter constant of MS Windows/DOS (<tt>"\r\n"</tt>) > */ > public static final LineDelimiter WINDOWS = new LineDelimiter("\r\n"); > > /** > * The line delimiter constant of Mac OS (<tt>"\r"</tt>) > */ > public static final LineDelimiter MAC = new LineDelimiter("\r"); > > > They have DEFAULT that we current dont have in Camel, buts its like > not setting any line delimiter in Camel. > > So where is the NULL coming from? Where do you see it? > > > On Thu, Jan 29, 2009 at 4:59 PM, ejot <[email protected]> wrote: >> >> From the docs the line delimiters AUTO, MAC, WINDOWS and UNIX are >> supported... but mina has another one, NUL (necessary when using for example >> Flash). Is there some other way to configure the delimiter when creating the >> route? >> -- >> View this message in context: >> http://www.nabble.com/camel-mina%2C-missing-NUL-line-delimiter--tp21729683s22882p21729683.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/
