[
https://issues.apache.org/jira/browse/CAMEL-15111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648974#comment-17648974
]
Yasser Zamani commented on CAMEL-15111:
---------------------------------------
I wish working on and fixing this issue as a contribution to Camel. Could you
please assign it to me? as I've already started its analysis.
> camel-as2 component failed to parse entity content for encrypted or
> compressed data
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-15111
> URL: https://issues.apache.org/jira/browse/CAMEL-15111
> Project: Camel
> Issue Type: New Feature
> Affects Versions: 3.3.0
> Reporter: S. Youssef
> Priority: Major
> Labels: AS2, encrypted,, receive, server
> Fix For: 3.x
>
> Attachments: image-2021-09-20-16-26-35-053.png
>
>
> AS2 component can receive only messages that has the following content-type:
> * application/edifact
> * application/edi-x12
> * application/edi-consent
> in case of a PLAIN interchange it works fine, however when i try to receive
> an ENCRYPTED/SIGNED/COMPRESSED messages camel don't recognize the content
> type of the interchange.
> Here is the message sent by my trading partner :
> {code:java}
> AS2-From: ESALINK
> AS2-To: YSF2
> AS2-Version: 1.2
> Date: Mon, 25 May 2020 22:04:47 GMT
> Disposition-Notification-Options:
> signed-receipt-protocol=optional,pkcs7-signature;signed-receipt-micalg=optional,md5
> Disposition-Notification-To: ediint-sync-mdn
> EDIINT-Features: multiple-attachments
> Message-ID: <20200525220447.3200.111@DESKTOP-OT6I4JG>
> Subject: message from YSF
> Content-Type: multipart/signed; protocol="application/pkcs7-signature";
> micalg=md5; boundary="------15ECC40FF5D299411590444287BC801"
> --------15ECC40FF5D299411590444287BC801
> Content-Transfer-Encoding: binary
> Content-Disposition: attachment; filename="smime.p7m"
> Content-Type: application/pkcs7-mime; smime-type=compressed-data;
> name="smime.p7m"0€*†H†÷
> €0€0*†H†÷
> 0€ *†H†÷
> €$€‚îxrÎÏ+IÍ+Ñ
> )JÌ+NK-ÒuÍKÎOÉÌK-
> RHÊÌK,ªäår†*qÉ,.È/Î,ÉÌϳRH,)ILÎÈjµVHËÌIÍKÌMµU*ÎÍÌMÕ+0ÏUBh©,Hª/(ÈÉLNiÖ/ÈN.6×)µVëÐ-ª±MÍ+KÍÉ/HMÑMI,I´VÀ4'—Ë
> ‰©€S«Í£í;/#;ó‚&¦D P,#ƒaãqƒ&ÆÃ@¦Aã*ƒÆ%†ÜœlÌ¡,lÂLnA†ü¼ ‡0›Ð§É©†|<
> vaրĢÌbC1ŸK˜×=5/µ(³BÁ½(¿´ÀPÆ@
> $Î-,ìšö»0¨RR#
> ŠR‹‹
> øA²Ì‰E%@}F†Úšpr2ŠÉ"€"W€•;¤CŒN™¬—œŸr,/\5##+K#ƒYOú¿¥Šw6ßíiJ(»œqÉjã±_bE§fýÖas®XµxÚ'Ï™|
> ý;ûÄNN7ßÕÆs{é|ƒ|wïkž<×\ý>- ú!ûFƒ™>{Ÿ™Yîúa:ÙúÊšÚÞná°|zu†- è=îwÅ—VßøW§ÿùëãÎ
> þg¥nš
> «½n°tzwË{Lb]0Kÿ¿ÅÛ
> {code}
> camel will send an MDN containing this message:
> {code:java}
> Failed to parse entity content{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)