[
https://issues.apache.org/jira/browse/VYSPER-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736539#action_12736539
]
Michael Jakl commented on VYSPER-149:
-------------------------------------
Good point, I'll dig into it.
> Pubsub Handlers hold state
> --------------------------
>
> Key: VYSPER-149
> URL: https://issues.apache.org/jira/browse/VYSPER-149
> Project: VYSPER
> Issue Type: Bug
> Components: XEP0060 PubSub
> Reporter: Bernd Fondermann
> Assignee: Michael Jakl
>
> In r791956, sender and receiver where introduced as fields in
> AbstractPublishSubscribeIQHandler. Since Handlers must be stateless to work
> correctly, these fields should be removed
> Furthermore, as recommended some time ago, I'd suggest to remove any
> non-static fields from handlers to prevent side-effects, for example if we
> cluster handlers in the future or something similar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.