Page 1 of 1

Regarding Mails

PostPosted:Sat Oct 05, 2013 4:51 am
by sockworld
Dear Openkm Team,

I am recently started using openkm and one thing I found that it uses lot of mails for every activity. But when I looked through the source, I found that you guys are using java mail APIS. But dont u guys think using JMS(Java Mail Service) suits the situation. I am planning of implementing it in my version and if its works, I ll send you also the code. But before that, please let me know if its really worth shifting to JMS. I might be wrong but I wanted to clarify before proceeding.

Re: Regarding Mails

PostPosted:Sat Oct 05, 2013 9:01 am
by jllort
Correct me, but tomcat is a servlet container and I think, by default, tomcat does not support JMS. Aplication server like jboss, weblogic, Iplanet among others comes with JMS support. Seems can be plugged some JMS solution like is explained here http://www.idanfridman.com/blog1/using-jms-in-tomcat/ or here https://activemq.apache.org/tomcat.html ( which seems can be integrated with spring http://java.dzone.com/articles/spring-jms-activemq ) or this http://openjms.sourceforge.net/

JMS probably can give openkm some advantages, googling you can find some discussions about it, like here http://stackoverflow.com/questions/1035 ... age-queues

In scenario with a lot of mails sent by OpenKM, JMS seems right direction. But as you can see are several JMS, first step should be find which is more interesting to be integrated under tomcat.

Re: Regarding Mails

PostPosted:Mon Oct 07, 2013 5:41 am
by sockworld
Thanks for the links and the info. I appreciate it. Incase , I implement it, I ll send the code along! :D :D