Add a MailService sharedSession option
--------------------------------------
Key: JBAS-5896
URL:
https://jira.jboss.org/jira/browse/JBAS-5896
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Other
Reporter: Scott M Stark
Assignee: Scott M Stark
Fix For: JBossAS-5.0.0.CR2
To avoid having a single mail session instance shared across all lookups, we need the
option to create a new mail session on each jndi lookup. A new sharedSession attribute is
needed to control this behavior:
/**
* Set whether a single mail session should be shared across all lookups
* (sharedSession = true) or a new session created on each lookup
* (sharedSession = false, the default).
* @param sharedSession
*/
public void setSharedSession(boolean sharedSession)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira