cjmamo commented on PR #31:
URL: 
https://github.com/apache/camel-jbang-examples/pull/31#issuecomment-2808690920

   Debugged it a little. The 
[ediMessageContentType](https://github.com/apupier/camel-jbang-examples/blob/bd3c1a852f50ab1f8b80eea91d85e6fd75f4f715/edi-x12-as2/test/edi-x12-as2.camel.it.yaml#L34)
 parameter in the test request is causing the following error with the latest 
version of Camel:
   
   >Caused by: java.lang.IllegalArgumentException: MIME type may not contain 
reserved characters
   
   If I drop the `charset` nested param from `ediMessageContentType` such that 
`application%2Fedi-x12%3Bcharset%3DUS-ASCII` becomes `application%2Fedi-x12`, 
then the test passes. What's weird is that this error doesn't crop up from 
[edi-x12-as2.camel.yaml](https://github.com/apupier/camel-jbang-examples/blob/c29bfef880dc3b65f3b4400779aa6b6b86afe0a7/edi-x12-as2/camel/edi-x12-as2.camel.yaml#L60)
 despite `ediMessageContentType` containing the `charset` param
   
   Could it be a regression in Camel or Citrus?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to