[
https://issues.apache.org/jira/browse/VYSPER-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Mahoney updated VYSPER-299:
--------------------------------
Attachment: vysper-299.patch
Patch to fix VYSPER-299. I've added a stop() method to StanzaRelay and
implemented it in all subclasses. The relay() method of the subclasses also
throws a DeliveryException if called after stop().
> Internal and External Inbound Stanza Relays don't shutdown their thread pools
> cleanly
> -------------------------------------------------------------------------------------
>
> Key: VYSPER-299
> URL: https://issues.apache.org/jira/browse/VYSPER-299
> Project: VYSPER
> Issue Type: Bug
> Components: stanza routing
> Affects Versions: 0.7
> Reporter: Mike Mahoney
> Priority: Minor
> Attachments: vysper-299.patch
>
>
> DeliveringInternalInboundStanzaRelay and DeliveringExternalInboundStanzaRelay
> use a ThreadPoolExecutor to handle the delivery of stanzas. Neither class
> calls the shutdown() method of the the ThreadPoolExecutor when Vysper is
> shutdown.
> Propose adding a stop() method to StanzaRelay and implementing it in all
> subclasses.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira