james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Verma" <amit.ve...@agnity.com>
Subject RE: Retry Logic isnt Working
Date Wed, 21 Apr 2010 04:38:16 GMT
Hi Norman

Thanks its working fine now. I was not marking state of my mail as error and
that’s why  accept function wasn’t executing delayFilter logic.Now I have
changed the code and its fine.

Thanks
Amit

-----Original Message-----
From: norman.maurer@googlemail.com [mailto:norman.maurer@googlemail.com] On
Behalf Of Norman Maurer
Sent: Tuesday, April 20, 2010 9:42 PM
To: Amit Verma
Cc: James Users List; server-dev@james.apache.org
Subject: Re: Retry Logic isnt Working

Hi Amit,

its hard to tell you whats wrong with your code without looking at it.
The "delaying" of the mails is implemented by using a
SpoolRepository.AcceptFilter.

Bye,
Norman

2010/4/20 Amit Verma <amit.verma@agnity.com>:
> Hi
>
> I have a requirement  that instead of delivering a mail to remote host ,I
> have to call another method which changes the format of mail and delivers
it
> to the destination.For this I have changed the code in Remote Delivery
> Mailet by omitting the code in deliver(mail,session) method and calling my
> code from that. Now my problem is if I omit the code of deliver method
> ,retry logic is not working.New deliver method is getting called again and
> again without waiting for delay time.
>
>
>
> I have gone through the code but m unable to find anything related to
> delayTime in deliver method.Please let me know what I need to do use the
> delayFilter logic if I am calling my code  from  that method.
>
>
>
> Amit

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message