Petals SE Camel

Using MarshallingHelper to marshall JaxB bean with attachment should use the datahandler name as Content ID

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.0
  • Fix Version/s: 1.2.1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    When using MarshallingHelper to marshall a JaxB bean with attachment, a Content ID is generated for the MTOM optimization even if a name is defined at DataHandler level.

    It should be better to use the DataHandler name as Content ID if it is defined, for example, Petals BC FileTransfer use the Content ID as file name putting a file into a directory.

    Show
    When using MarshallingHelper to marshall a JaxB bean with attachment, a Content ID is generated for the MTOM optimization even if a name is defined at DataHandler level. It should be better to use the DataHandler name as Content ID if it is defined, for example, Petals BC FileTransfer use the Content ID as file name putting a file into a directory.
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Tue, 23 Jul 2019 - 11:19:19 +0200 - edited

Merged in master branch and svn trunk

Show
Christophe DENEUX added a comment - Tue, 23 Jul 2019 - 11:19:19 +0200 - edited Merged in master branch and svn trunk
Hide
Christophe DENEUX added a comment - Fri, 12 Jul 2019 - 16:08:47 +0200

Reopen to merge in master

Show
Christophe DENEUX added a comment - Fri, 12 Jul 2019 - 16:08:47 +0200 Reopen to merge in master
Hide
Christophe DENEUX added a comment - Fri, 12 Jul 2019 - 16:08:34 +0200

Fixed in branch petals-se-camel-1.2.x

Show
Christophe DENEUX added a comment - Fri, 12 Jul 2019 - 16:08:34 +0200 Fixed in branch petals-se-camel-1.2.x
Hide
Christophe DENEUX added a comment - Fri, 12 Jul 2019 - 11:40:48 +0200

The improvement must be done in EasyCommons-Utils into com.ebmwebsourcing.easycommons.xml.jaxb.AbstractAttachmentMarshaller

Show
Christophe DENEUX added a comment - Fri, 12 Jul 2019 - 11:40:48 +0200 The improvement must be done in EasyCommons-Utils into com.ebmwebsourcing.easycommons.xml.jaxb.AbstractAttachmentMarshaller

People

Dates

  • Created:
    Fri, 12 Jul 2019 - 11:39:35 +0200
    Updated:
    Tue, 23 Jul 2019 - 11:19:37 +0200
    Resolved:
    Tue, 23 Jul 2019 - 11:19:19 +0200