Hi,
sorry for the late reply, I was on vacation.
Thank you for the tip, looking up with "aries:services" worked like a charm.
Here is a JavaMail blueprint example for future reference. After dropping
this file in the deploy folder, it is possible to obtain the JavaMail
session via JNDI lookup
HiYou can also use jndi Karaf service. Regards JBLe sam. 18 juil. 2020 ? 09:39, Benjamin Graf a ?crit :Hi Gian,
try using aries:services instead of osgi:service for jndi lookup. This
will avoid creating a proxy around.
(https://aries.apache.org/modules/jndiproject.html)
Regards,
Benjamin
On
Hi Gian,
try using aries:services instead of osgi:service for jndi lookup. This
will avoid creating a proxy around.
(https://aries.apache.org/modules/jndiproject.html)
Regards,
Benjamin
On 17.07.2020 10:28, Giamma wrote:
> Hi,
>
> I have an application that tries to access a JavaMail session
Hi,
I have an application that tries to access a JavaMail session over JNDI.
To make it run in Karaf I tried the following without luck:
1. I created a blueprint file which creates and configures the Java Mail
session
2. I configured the application to lookup the mail session as an