You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/08/26 13:25:50 UTC
[jira] Created: (CAMEL-1939) Mina - Add option to set max line
length for textline protocol
Mina - Add option to set max line length for textline protocol
--------------------------------------------------------------
Key: CAMEL-1939
URL: https://issues.apache.org/activemq/browse/CAMEL-1939
Project: Apache Camel
Issue Type: New Feature
Components: camel-mina
Affects Versions: 2.0.0, 1.6.1
Reporter: Claus Ibsen
Priority: Minor
Fix For: 2.1.0
Add option to configure encoder and decoder max line length for TextLine codec.
See Mina 1.1 API:
http://mina.apache.org/report/1.1/apidocs/org/apache/mina/filter/codec/textline/TextLineCodecFactory.html
By default its 1024 bytes and you can hit it.
http://www.nabble.com/Mina-Buffer-size-td25136625.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-1939) Mina - Add option to set max line
length for textline protocol
Posted by "Stan Lewis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stan Lewis reassigned CAMEL-1939:
---------------------------------
Assignee: Stan Lewis
> Mina - Add option to set max line length for textline protocol
> --------------------------------------------------------------
>
> Key: CAMEL-1939
> URL: https://issues.apache.org/activemq/browse/CAMEL-1939
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-mina
> Affects Versions: 1.6.1, 2.0.0
> Reporter: Claus Ibsen
> Assignee: Stan Lewis
> Priority: Minor
> Fix For: 2.1.0
>
>
> Add option to configure encoder and decoder max line length for TextLine codec.
> See Mina 1.1 API:
> http://mina.apache.org/report/1.1/apidocs/org/apache/mina/filter/codec/textline/TextLineCodecFactory.html
> By default its 1024 bytes and you can hit it.
> http://www.nabble.com/Mina-Buffer-size-td25136625.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-1939) Mina - Add option to set max line
length for textline protocol
Posted by "Stan Lewis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stan Lewis updated CAMEL-1939:
------------------------------
Attachment: patch.txt
Here's a patch that adds the options for the encoder/decoder max line length.
> Mina - Add option to set max line length for textline protocol
> --------------------------------------------------------------
>
> Key: CAMEL-1939
> URL: https://issues.apache.org/activemq/browse/CAMEL-1939
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-mina
> Affects Versions: 1.6.1, 2.0.0
> Reporter: Claus Ibsen
> Assignee: Stan Lewis
> Priority: Minor
> Fix For: 2.1.0
>
> Attachments: patch.txt
>
>
> Add option to configure encoder and decoder max line length for TextLine codec.
> See Mina 1.1 API:
> http://mina.apache.org/report/1.1/apidocs/org/apache/mina/filter/codec/textline/TextLineCodecFactory.html
> By default its 1024 bytes and you can hit it.
> http://www.nabble.com/Mina-Buffer-size-td25136625.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-1939) Mina - Add option to set max line
length for textline protocol
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1939.
--------------------------------
Resolution: Fixed
Thanks Stan for the patch.
I did change it to use -1 as default value to avoid changing the defaults in Mina itself.
trunk: 810785.
I also updated the camel mina wiki page.
> Mina - Add option to set max line length for textline protocol
> --------------------------------------------------------------
>
> Key: CAMEL-1939
> URL: https://issues.apache.org/activemq/browse/CAMEL-1939
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-mina
> Affects Versions: 1.6.1, 2.0.0
> Reporter: Claus Ibsen
> Assignee: Stan Lewis
> Priority: Minor
> Fix For: 2.1.0
>
> Attachments: patch.txt
>
>
> Add option to configure encoder and decoder max line length for TextLine codec.
> See Mina 1.1 API:
> http://mina.apache.org/report/1.1/apidocs/org/apache/mina/filter/codec/textline/TextLineCodecFactory.html
> By default its 1024 bytes and you can hit it.
> http://www.nabble.com/Mina-Buffer-size-td25136625.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.