[jboss-jira] [JBoss JIRA] Resolved: (JBAS-5896) Add a MailService sharedSession option

Scott M Stark (JIRA) jira-events at lists.jboss.org
Thu Aug 28 03:14:38 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBAS-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott M Stark resolved JBAS-5896.
---------------------------------

    Resolution: Done


The sharedSession attribute defaults to false.

> 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

        



More information about the jboss-jira mailing list