Skip to content
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

Async MDN support for AS2Client #31

Closed
xloggerster opened this issue Feb 8, 2017 · 3 comments
Closed

Async MDN support for AS2Client #31

xloggerster opened this issue Feb 8, 2017 · 3 comments
Assignees

Comments

@xloggerster
Copy link

It seems like com.helger.as2lib.client.AS2Client only support AS2 message sending using synchronize MDN mode (through sendSynchronous() method). Is it possible to use this client to send AS2 in Asynchronized MDN mode instead?

I tried to read the source code and seems like async or not was controlled by aPartnership.setAS2ReceiptOption ()... what value should be set for this option value in order to support async MDN? any other changes needed?

@phax
Copy link
Owner

phax commented Feb 8, 2017

To send an async MDN you need a server component, whereas the AS2Client is meant to operate on a "library" basis, without a required server component. I will try to figure out the required parameters and make the needed changes. May take some days - I'm currently ill :(

@phax phax self-assigned this Feb 16, 2017
@phax
Copy link
Owner

phax commented Jun 19, 2017

Oops - I totally missed that one :(

phax added a commit that referenced this issue Jun 19, 2017
@phax
Copy link
Owner

phax commented Jun 19, 2017

AS2ClientSettings.setAsyncMDNUrl (String) should do the trick. Is contained in v3.0.4 release that is build now

@phax phax closed this as completed Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants