-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No failure if AS2SenderModule._resend
fails
#7
Comments
I looked at the code, but I think the |
It does nothing because by default Update: when specifying a retry count at the client, an NPE because of the missing MessageProcessor pops up. |
Hi Philip, Is this option of resending also settable in the partnership or config file in as2-server? Thanks, |
No. As far as I remember this is a setting of the sender module... Please file a separate issue to make this configurable per partnership. Anyway resending currently does not work when using the standalone client. Am 01. September 2015 15:26:18 MESZ, schrieb Michael Reinig notifications@github.com:
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. |
Yes, there's an additional problem: -1 is treated as "don't retry" but "documented" as "retry forever" in |
Okay, I changed the resend documentation now in a way so that "0" means no retries. I also added an "in-memory" resender module ( Additional I think that the retries happened forever and would never stop. Now, if the number of retries is exceeded, an exception is thrown. Next thing to come is a synchronous resender that does not use polling but will resend in the same thread as the failed message. |
I now added an |
Sounds good, thank you. I'll try to test this soon, I'm currently quite busy with other things. |
I just gave it a spin, works fine. Thanks. Is there already a schedule for 2.2.0? :-) |
Excellent - good to hear. |
Sure, take your time. Thanks for the estimate. |
If I create a partnership with a wrong AS2 url and try to send a request, the handler logs some errors but returns instead of throwing an exception.
The logs contain
Maybe
AS2SenderModule._resend(IMessage, OpenAS2Exception, int)
should rethrow the exception.The text was updated successfully, but these errors were encountered: