[ https://issues.apache.org/jira/browse/CAMEL-20659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jono Morris updated CAMEL-20659: -------------------------------- Description: The `contentTransferEncoding` needs to be included in the DispositionNotificationMultipartReportEntity constructor when parsing the entity body. Previously this was set via a 'setter' but with the upgrade to Apache HTTP client v5 it was changed to an immutable attribute that must be set via the constructor. [https://github.com/apache/camel/blob/camel-4.4.x/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/EntityParser.java#L713] was: The `contentTransferEncoding` needs to be included in the MDN constructor when parsing the entity body. Previously this was set via a 'setter' but with the upgrade to Apache HTTP client v5 it was changed to an immutable attribute that must be set via the constructor. https://github.com/apache/camel/blob/camel-4.4.x/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/EntityParser.java#L713 > camel-as2 - include contentTransferEncoding on parsed MultipartReportEntity > entity > ---------------------------------------------------------------------------------- > > Key: CAMEL-20659 > URL: https://issues.apache.org/jira/browse/CAMEL-20659 > Project: Camel > Issue Type: Bug > Reporter: Jono Morris > Assignee: Jono Morris > Priority: Minor > > The `contentTransferEncoding` needs to be included in the > DispositionNotificationMultipartReportEntity constructor when parsing the > entity body. Previously this was set via a 'setter' but with the upgrade to > Apache HTTP client v5 it was changed to an immutable attribute that must be > set via the constructor. > [https://github.com/apache/camel/blob/camel-4.4.x/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/EntityParser.java#L713] -- This message was sent by Atlassian Jira (v8.20.10#820010)