camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] Commented: (CAMEL-381) camel-mina UDP protocol should have encoding configuration
Date Fri, 14 Mar 2008 03:38:32 GMT


Willem Jiang commented on CAMEL-381:

Hi Claus,

I just found you used the String(byte[] bytes, Charset charset)  which is the new API  in
JDK1.6 in the MinaEncodingTest , and I got the build fail message with JDK1.5.

So I changed the code to use the String(byte[] bytes, String charsetName)  API , which will
make both JDK1.5 and JDK1.6 happy.



> camel-mina UDP protocol should have encoding configuration
> ----------------------------------------------------------
>                 Key: CAMEL-381
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-mina
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>            Priority: Minor
>         Attachments: camel_381_patch_part1.txt, camel_381_patch_part2.txt
> If sending string messages using a MinaProducer then the encoding configuration is not
possible to configure.
> Currently it is fixed as:
> {code}
>                     encoder = Charset.defaultCharset().newEncoder();
> {code}
> It should be possible to configure this so we can have all those exotic kind of encodings
to work.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message