tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luca-vercelli <luca.verce...@alkeinformatica.com>
Subject Migrating mail-service from JBoss to TomEE
Date Tue, 18 Oct 2016 08:58:36 GMT
Hello,
I am migrating an application from JBoss to TomEE.
It uses a feature of JBoss that allows sending mails easily.
In JBoss, there is a configuration file:

<jbossfolder>/server/default/deploy/mail-service.xml

that contains all SMTP parameters. At startup, JBoss creates a
ConnectionFactory based on these parameters, and publishes it via JNDI.
At runtime, this ConnectionFactory is retrieved via JNDI:

ConnectionFactory connectionFactory = (ConnectionFactory)
ctx.lookup("QueueConnectionFactory");

Is there anything similar in TomEE?
Thank you.




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Migrating-mail-service-from-JBoss-to-TomEE-tp4680367.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message