You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/01/11 14:15:00 UTC

[jira] [Updated] (CAMEL-15111) camel-as2 component failed to parse entity content for encrypted or compressed data

     [ https://issues.apache.org/jira/browse/CAMEL-15111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-15111:
--------------------------------
    Fix Version/s: 4.0

> 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: Bug
>    Affects Versions: 3.3.0
>            Reporter: S. Youssef
>            Assignee: Yasser Zamani
>            Priority: Minor
>              Labels: AS2, encrypted,, receive, server
>             Fix For: 3.18.5, 3.20.1, 3.21.0, 4.0
>
>         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: <20...@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)