You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Feris Thia <fe...@gmail.com> on 2006/08/16 07:51:12 UTC

JMS Alternative

Hi All,

Is there any alternative JMS api in Tomcat ? And how can I implement multi
threading in JMS, let's say to send mass email (at about 100.000) with Java
Mail API with customized attachment ?

-- 
Regards,
Feris
PT. Putera Handal Indotama
JL. KH. Moh. Mansyur No. 11 Blok B.8-12
Telp. +62-21-631 6688 (Hunting)
Fax. +62-21-6330211
Jakarta (10140) - INDONESIA

Re: JMS Alternative

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
use qmail or one of those email frameworks, yes, you can access it using 
the JavaMail API
you'd still need logic to handle bounces etc, so you do have some work 
ahead of you

Feris Thia wrote:
> Hi All,
>
> Is there any alternative JMS api in Tomcat ? And how can I implement 
> multi
> threading in JMS, let's say to send mass email (at about 100.000) with 
> Java
> Mail API with customized attachment ?
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 8/14/2006
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JMS Alternative

Posted by Feris Thia <fe...@gmail.com>.
Hi Richard, Ronald, Nikola, and Filip

Thanks for all the answers. I now get clearer for my solution, it is clearly
has nothing to do with Tomcat but in my application design.

-- 
Regards,
Feris
PT. Putera Handal Indotama
JL. KH. Moh. Mansyur No. 11 Blok B.8-12
Telp. +62-21-631 6688 (Hunting)
Fax. +62-21-6330211
Jakarta (10140) - INDONESIA

Re: JMS Alternative

Posted by Nikola Milutinovic <al...@yahoo.com>.
> Before asking about an optimized multithreaded e-mail application on a mailinglist for
> a webserver you should make it clear what you are doing. Maybe the non-optimized
> singlethreaded e-mail loop is fast enough for you. It wil save you a lot of time debugging.

How about using Mail API to send mail to an MTA and let MTA handle it? If the MTA is configured fo rfast acceptance, a single threaded loop will do.

Nix.




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JMS Alternative

Posted by Ronald Klop <ro...@base.nl>.
Before asking about an optimized multithreaded e-mail application on a mailinglist for a webserver you should make it clear what you are doing. Maybe the non-optimized singlethreaded e-mail loop is fast enough for you. It wil save you a lot of time debugging.

How much e-mail are you sending? 100.000 per second/minute/day?
How big are your e-mails? Do you have enough bandwidth for them?

BTW: This has nothing to do with Tomcat.


Ronald.

On Wed Aug 16 07:51:12 CEST 2006 Tomcat Users List <us...@tomcat.apache.org> wrote:
> Hi All,
> 
> Is there any alternative JMS api in Tomcat ? And how can I implement multi
> threading in JMS, let's say to send mass email (at about 100.000) with Java
> Mail API with customized attachment ?
> 
> -- 
> Regards,
> Feris
> PT. Putera Handal Indotama
> JL. KH. Moh. Mansyur No. 11 Blok B.8-12
> Telp. +62-21-631 6688 (Hunting)
> Fax. +62-21-6330211
> Jakarta (10140) - INDONESIA


Re: JMS Alternative

Posted by Feris Thia <fe...@gmail.com>.
Hi Richard,

Like to thank for the feedback. Yes, I realized that it's quite challenging.
Hm, ok.. if I may do so... what kind of technology stacks (API) that I need
to ?

Feris

On 8/16/06, Richard Mixon <rn...@qwest.net> wrote:
>
> If you are wanting to send email, you probably are interested in the Java
> Mail API - not the JMS API - they are for (usually) different purposes.
> However one could conceivably use JMS as a conduit between the various
> components of such a system (e.g. email assembly, delivery and the MTA).
>
> Creating an effective, performant mass email subsystem can be quite
> challenging. I believe I've seen a few that are commercially available and
> have also participated in the development of one. It is not something that
> can be easily answered in an email - it an entire project :)
>
> That said, maybe someone else on the list knows of a framework that is
> already built for such a task.
>
> HTH - Richard
>
> -----Original Message-----
> From: Feris Thia [mailto:feris.tia@gmail.com]
> Sent: Tuesday, August 15, 2006 10:51 PM
> To: Tomcat Users List
> Subject: JMS Alternative
>
> Hi All,
>
> Is there any alternative JMS api in Tomcat ? And how can I implement multi
> threading in JMS, let's say to send mass email (at about 100.000) with
> Java
> Mail API with customized attachment ?
>
> --
> Regards,
> Feris
> PT. Putera Handal Indotama
> JL. KH. Moh. Mansyur No. 11 Blok B.8-12
> Telp. +62-21-631 6688 (Hunting)
> Fax. +62-21-6330211
> Jakarta (10140) - INDONESIA
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Regards,
Feris
PT. Putera Handal Indotama
JL. KH. Moh. Mansyur No. 11 Blok B.8-12
Telp. +62-21-631 6688 (Hunting)
Fax. +62-21-6330211
Jakarta (10140) - INDONESIA

RE: JMS Alternative

Posted by Richard Mixon <rn...@qwest.net>.
If you are wanting to send email, you probably are interested in the Java
Mail API - not the JMS API - they are for (usually) different purposes.
However one could conceivably use JMS as a conduit between the various
components of such a system (e.g. email assembly, delivery and the MTA).

Creating an effective, performant mass email subsystem can be quite
challenging. I believe I've seen a few that are commercially available and
have also participated in the development of one. It is not something that
can be easily answered in an email - it an entire project :)

That said, maybe someone else on the list knows of a framework that is
already built for such a task.

HTH - Richard

-----Original Message-----
From: Feris Thia [mailto:feris.tia@gmail.com] 
Sent: Tuesday, August 15, 2006 10:51 PM
To: Tomcat Users List
Subject: JMS Alternative

Hi All,

Is there any alternative JMS api in Tomcat ? And how can I implement multi
threading in JMS, let's say to send mass email (at about 100.000) with Java
Mail API with customized attachment ?

--
Regards,
Feris
PT. Putera Handal Indotama
JL. KH. Moh. Mansyur No. 11 Blok B.8-12
Telp. +62-21-631 6688 (Hunting)
Fax. +62-21-6330211
Jakarta (10140) - INDONESIA


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org