SMTPAppender not asynchronous using AsyncAppender

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SMTPAppender not asynchronous using AsyncAppender

Amit Shinde
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




Reply | Threaded
Open this post in threaded view
|

Re: SMTPAppender not asynchronous using AsyncAppender

BJ Freeman
-----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-----
Reply | Threaded
Open this post in threaded view
|

Re: SMTPAppender not asynchronous using AsyncAppender

Amit Shinde
In reply to this post by Amit Shinde
Yes, I have already posted a query there -  
http://www.nabble.com/SMTPAppender-not-asynchronous-using-AsyncAppender-to21308582.html


BJ Freeman wrote:

> -----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-----
>