[ 
https://issues.apache.org/jira/browse/CAMEL-10510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15687104#comment-15687104
 ] 

Quinn Stevenson commented on CAMEL-10510:
-----------------------------------------

This component also drops extra delimiters if they are present in the message.  
Even though a message containing more than 4 delimiters is clearly not 
compliant with the HL7 standard, the component shouldn't alter the message - 
the delimiters should be passed through on the generated acknowledgement.

> HL7AcknowledgementGenerator should set exchange property and not message 
> header
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-10510
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10510
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mllp
>    Affects Versions: 2.17.0
>            Reporter: Quinn Stevenson
>            Assignee: Quinn Stevenson
>            Priority: Minor
>
> The HL7AcknowledgmentGenerator is setting the CamelMllpAcknowledgement 
> message header, but this should be an exchange property.
> This is "hangover" from when this class was an internal/implementation class. 
>  Since I moved it and made it generally available for use, it should be 
> setting the exchange property so that the acknowledgement will be delivered.
> As currently written, the user will have to copy the message header to the 
> exchange property for it to be used.  If this isn't done, the component will 
> generate a new acknowledgement.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to