[ https://issues.apache.org/jira/browse/JAMES-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tellier Benoit closed JAMES-2616. --------------------------------- > 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: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org