[
https://issues.apache.org/jira/browse/JAMES-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979508#comment-13979508
]
Sebastian Tacke commented on JAMES-1545:
----------------------------------------
I tried a quick fix with an abstract class that implements
ChannelPipelineFactory and ExternalResourceReleasable and using that one
worked, but I think it would be a better idea to refactor the
ChannelPipelineFactory classes (e.g. provide one factory which uses a builder
to create the pipeline).
> Anonymous ChannelPipelineFactory implementation in IMAPServer does not stop
> timer
> ---------------------------------------------------------------------------------
>
> Key: JAMES-1545
> URL: https://issues.apache.org/jira/browse/JAMES-1545
> Project: James Server
> Issue Type: Bug
> Components: IMAPServer
> Affects Versions: 3.0-beta4
> Reporter: Sebastian Tacke
>
> IMAP's timeout behavior differs from the other mail protocols, requiring a
> specific idle timeout handler implementation. To achieve this the IMAPServer
> has an anonymous implementation of netty's ChannelPipelineFactory with a
> HashedWheelTimer instance. As the ChannelPipelineFactory interface does not
> extend ExternalResourceReleasable, the HashedWheelTimer is not stopped when
> the IMAPServer is shutdown. This causes the Server to hang until it is force
> killed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]