Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15111

camel-as2 component failed to parse entity content for encrypted or compressed data

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      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 : 

      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ÿ¿ÅÛ
      

      camel will send an MDN containing this message: 

      Failed to parse entity content

      Attachments

        Issue Links

          Activity

            People

              yasserzamani Yasser Zamani
              mrsafi S. Youssef
              Votes:
              8 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: