You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2009/01/28 23:34:59 UTC

[jira] Closed: (OPENEJB-994) Multiple JavaMail sessions ignored

     [ https://issues.apache.org/jira/browse/OPENEJB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins closed OPENEJB-994.
---------------------------------

    Resolution: Fixed

> Multiple JavaMail sessions ignored
> ----------------------------------
>
>                 Key: OPENEJB-994
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-994
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: configuration
>    Affects Versions: 3.0-beta-1, 3.0-beta-2, 3.0, 3.1
>            Reporter: David Blevins
>            Assignee: David Blevins
>             Fix For: 3.1.1
>
>
> The mail session factory org.apache.openejb.core.MailSessionFactory creates a
> mail session as follows:
> public Session create() {
>    return Session.getDefaultInstance(properties);
> }
> This way only one mail session can be configured in openejb.xml, namely the
> default mail session.
> The following modification in MailSessionFactory allows to configure
> multiple mail sessions in openejb.xml:
> public Session create() {
>     return Session.getInstance(properties);
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.