[
https://issues.apache.org/jira/browse/JAMES-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tellier Benoit resolved JAMES-2616.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.3.0
https://github.com/linagora/james-project/pull/1999 solved this
> Rework events so that they do not include the MailboxSession
> ------------------------------------------------------------
>
> Key: JAMES-2616
> URL: https://issues.apache.org/jira/browse/JAMES-2616
> Project: James Server
> Issue Type: Improvement
> Components: mailbox
> Reporter: Trần Tiến Đức
> Priority: Major
> Fix For: 3.3.0
>
>
> We do not want to send a `session` related to a single node context, other a
> message queue.
> Modify the Event API and implementation to just be exposing a `User`.
> Rework MailboxListeners so that they either:
> - Directly reuse the User where possible
> - Reopen system sessions for that given user if needed.
>
> You have to replace getSession() by a new getUser() in Event class. In some
> listeners, they requires to retrieve Session, let's use MailboxManager to
> create mailbox session of the user from getUser()
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]