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

Question regarding supported features #34

Closed
zharpaz-bmc-com opened this issue Apr 11, 2018 · 6 comments
Closed

Question regarding supported features #34

zharpaz-bmc-com opened this issue Apr 11, 2018 · 6 comments
Assignees
Labels

Comments

@zharpaz-bmc-com
Copy link
Contributor

Hi,
We consider to use as2-lib and I have a few questions:

  1. What AS2 version does the library supports (1.1, 1.2)?
  2. Does is supports any of the AS2 profiles (http://www.filetransferglossary.com/as2-optional-profiles)?
  3. Was it tested by the Drummond Group certification tests?
    Thank you for your help,
    Ziv Harpaz, BMC.
@phax
Copy link
Owner

phax commented Apr 11, 2018

Hi,

ad 1) Currently AS2 1.1 is supported.
ad 2) I have never formally investigated it, but here's what I found out:

  • FileName preservation (FN-MA) is possible, through customizing (sendfilename="true")
  • Chunked Transfer Encoding (CTE) is supported

ad 3) No.

hth, Philip

@phax phax self-assigned this Apr 11, 2018
@phax phax added the question label Apr 11, 2018
@zharpaz-bmc-com
Copy link
Contributor Author

Hi Philip,

Thank you for the fast answer! as2-lib looks really good.

  1. How do I set CTE when sending a message?
  2. When sending big files, do all the file needs to be stored in memory?

Thank you for your help,
Ziv

@phax
Copy link
Owner

phax commented Apr 12, 2018

Hi Ziv,
when sending a message use AS2ClientRequest.setContentTransferEncoding (EContentTransferEncoding).
See https://github.com/phax/as2-lib/blob/master/as2-lib/src/test/java/com/helger/as2lib/supplementary/main/MainSendToMendelsonTest.java for an example on how to invoke the client.

Concerning big files: I must admit I never really tested it. What is "big" for you?

// Philip

@zharpaz-bmc-com
Copy link
Contributor Author

Hi Philip,

I am asking about Chunked Transfer Encoding. (not Content).

Regarding file size, big would be above 50GB. My question is whether the package loads the whole file to memory.

Thanks,
Ziv

@phax
Copy link
Owner

phax commented Apr 13, 2018

Mea culpa - too many abbreviations.

  • Chunked encoding is currently not supported, but easy to add, as it is part of the default Java HttpUrlConnection as well as part of Apache Http Client
  • The big files will most likely cause an error atm. I never really tested with large files, but I think I should to. Any PR in that direction is appreciated.

Happy weekend,
Philip

@zharpaz-bmc-com
Copy link
Contributor Author

Thanks a bunch Philip. We are now in the phase of choosing the library, and as2-lib is a serious candidate. We will seriously consider a PR when we get there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants