IIRC, you can change the filterchain of a running session. So it should be possible to 'dynamically' create a new TextLineCodecFactorywhenever you want and use it to replace the current protocol codec.
Or am I missing something ? Maarten On Tue, Dec 23, 2008 at 7:17 AM, Ashish Paliwal (JIRA) <[email protected]>wrote: > > [ > https://issues.apache.org/jira/browse/DIRMINA-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658768#action_12658768] > > Ashish Paliwal commented on DIRMINA-586: > ---------------------------------------- > > Hmm... I think I misinterpreted this. I am wondering do we need to have > this functionality as part of TextLineCodecFactory. If we do, then how do we > determine, when to switch context? > Pardon my ignorance, but how many implementation shall need such a > implementation? > > > > > > 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. > >
