You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Amit Shinde <am...@amicontech.com> on 2009/01/06 12:07:57 UTC

SMTPAppender not asynchronous using AsyncAppender

Hello Everyone,

I am trying to send asynchronous error emails using log4j. I was  
successfully able to get the emails but it looks like the emails are  
synchronous and block the event processing till the email is sent.  
This happens inspite of using AsyncAppender.

I am using SMTPAppender and hooked it up with AsyncAppender  
(<appender-ref ref="mail"/>)

Did anyone else notice this? Can we send emails asynchronously at all?


Thanks in advance,

Amit Shinde





Re: SMTPAppender not asynchronous using AsyncAppender

Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

best answered in the log4j mailing list.

Amit Shinde sent the following on 1/6/2009 3:07 AM:
> Hello Everyone,
> 
> I am trying to send asynchronous error emails using log4j. I was
> successfully able to get the emails but it looks like the emails are
> synchronous and block the event processing till the email is sent. This
> happens inspite of using AsyncAppender.
> 
> I am using SMTPAppender and hooked it up with AsyncAppender
> (<appender-ref ref="mail"/>)
> 
> Did anyone else notice this? Can we send emails asynchronously at all?
> 
> 
> Thanks in advance,
> 
> Amit Shinde
> 
> 
> 
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJY0ErrP3NbaWWqE4RAttaAKCee6IQscItpD0gq4KhP2L/nqse3QCgiW0r
gVRJn26nz1NwP5JUOenoR6U=
=cr2b
-----END PGP SIGNATURE-----