tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] Closed: (OPENEJB-994) Multiple JavaMail sessions ignored
Date Wed, 28 Jan 2009 22:34:59 GMT

     [ 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.


Mime
View raw message