-
1. Re: A Java Mail resource adapter in jboss7, which allows email to trigger EJB3/Message-Driven Beans
nickarls Dec 21, 2012 2:12 AM (in response to simoncigoj)1 of 1 people found this helpfulNever done it but found a brief entry on activation over here: https://docs.jboss.org/author/display/AS71/Resource+adapters
-
2. Re: A Java Mail resource adapter in jboss7, which allows email to trigger EJB3/Message-Driven Beans
simoncigoj Dec 21, 2012 6:24 AM (in response to nickarls)Tnx for the info
Ok I've found mail-1.0.14.Final.rar ... as I understand I put this in the standalone\deployments\ foulder and then I have to define some config in a standalone.xml inside
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
How can I find what config should be put in the standalone.xml for the mail adapter...
As I se in the documentation an alternative would be to put the ironjacamar.xml inside the META-INF of the mail-1.0.14.Final.rar with the adapter definition settings.
I'm just having a little bit problems to find what I nead for the configuration of the mail adapter...an example like the one for "eid.rar" provided in previous dosumentation link would be realy great...I's the first time I'm doing this
-
3. Re: A Java Mail resource adapter in jboss7, which allows email to trigger EJB3/Message-Driven Beans
ctomc Jan 3, 2013 6:41 AM (in response to simoncigoj)Hi,
take a look at
http://docs.jboss.org/ironjacamar/userguide/1.1/en-US/html/schemas.html#ra11
and you will need ActivationSpec which you can in svn http://anonsvn.jboss.org/repos/jbossas/projects/jboss-jca/tags/IRONJACAMAR_1_0_14_FINAL/adapters/src/main/java/org/jboss/jca/adapters/mail/inflow/MailActivationSpec.java
--
tomaz
-
4. Re: A Java Mail resource adapter in jboss7, which allows email to trigger EJB3/Message-Driven Beans
jbertram Jan 3, 2013 9:48 AM (in response to simoncigoj)For any JCA RA you have you can run the Iron Jacamar rar info tool on it. It will give you a sample deployment descriptor for AS7 along with a lot of other useful information.