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

Matthieu Chase Heimer commented on DIRMINA-655:
-----------------------------------------------

Yeah I see what you are saying about that case but as the second matching 
message would begin with the terminator it would be filtered out. I should 
probably separate out the multi-character and single-character patterns for 
line feeds into separate constants. I'll try to write some unit tests as time 
permits this week.

> Add a more general purpose text based decoder
> ---------------------------------------------
>
>                 Key: DIRMINA-655
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-655
>             Project: MINA
>          Issue Type: New Feature
>    Affects Versions: 2.0.0-M4
>         Environment: Mina 2.0.0-M4, Java 1.6, Fedora 10
>            Reporter: Matthieu Chase Heimer
>            Priority: Minor
>         Attachments: RegExDecoder.java
>
>
> There are many text based protocols who have messages that are terminated by 
> a delimiter other than an end of line. A protocol decoder that is more 
> generic than TextLineDecoder would be a nice addition. It should also be easy 
> to extend so developers can focus on coverting text messages to domain 
> objects and not on converting  and parsing IoBuffers.

-- 
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