-
Notifications
You must be signed in to change notification settings - Fork 49
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
Exception when setting maxRetries to 0 #43
Comments
Hi Pavel, do you eventually have the callstack for me? |
Hi Peter, sure. It is there since fddf58d
|
Hi Pavel,
I assume your ENTSOG builder derives from => I made a change that ensures the supplied entity is repeatable if retries are disabled but dumping is enabled. Thanks for pointing it out |
Wait for https://travis-ci.com/github/phax/phase4/jobs/428521352 to finish before pulling. |
New SNAPSHOT is available ( |
Great.
Accoding to your question, the ENTSOG builder derives directly from AbstractAS4UserMessageBuilder not from AbstractAS4UserMessageBuilderMIMEPayload, because it is not possible to set custom usermessage attributes due to final keyword in
ENTSOG needs to set ConversationId to "" in user message... Maybe make applyToUserMessage non final would be better? |
Well with |
So Pavel does it work as expected? Can I close this issue? |
It works now. Thank you very much. |
When trying to send message with maxRetries set to 0 and outgoing dumper set, the following exception is thrown. Not for maxRetries > 0.
Caused by: java.lang.IllegalStateException: This should only be called for repeatable entities at com.helger.phase4.http.BasicHttpPoster._createDumpingHttpEntity(BasicHttpPoster.java:257) ~[phase4-lib-0.12.3-SNAPSHOT.jar:0.12.3-SNAPSHOT]
I think this didn't happened in 0.10.0.
The text was updated successfully, but these errors were encountered: