[ 
https://issues.apache.org/jira/browse/DIRMINA-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658525#action_12658525
 ] 

Ashish Paliwal commented on DIRMINA-586:
----------------------------------------

Not sure if this still an issue. A custom delimiter can be created using 
following construct

new LineDelimiter("delimiter") ; and passed onto TextLineCodecFactory

To specify the same in TextLineCodecfactory, following constructors can be used

public TextLineCodecFactory(Charset charset, String encodingDelimiter, String 
decodingDelimiter)

or

public TextLineCodecFactory(Charset charset, LineDelimiter encodingDelimiter, 
LineDelimiter decodingDelimiter)


> Dynamic delimiter support for TextLineCodecFactory
> --------------------------------------------------
>
>                 Key: DIRMINA-586
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-586
>             Project: MINA
>          Issue Type: Improvement
>          Components: Filter
>    Affects Versions: 2.0.0-M1
>            Reporter: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> TextLineCodecFactory supports static delimiters only.  For some cases, users 
> need to switch the delimiter dynamically depending on context.  Related 
> discussion is found here:
> http://markmail.org/message/loiqoej35evt2yvv

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

Reply via email to