[ https://issues.apache.org/jira/browse/AMQ-6274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15271188#comment-15271188 ]
Timothy Bish commented on AMQ-6274: ----------------------------------- >From a quick glance I'd say that the change to the original destination should >only be done on a copied message, mutating the original is not something we >should be doing here. > Add option to composite destinations to set originalMessage header > ------------------------------------------------------------------ > > Key: AMQ-6274 > URL: https://issues.apache.org/jira/browse/AMQ-6274 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker > Affects Versions: 5.13.2 > Reporter: Quinn Stevenson > Priority: Minor > > Composite Destinations are a great way to wiretap messages, but the resulting > messages don't have any information in them about where they originally came > from. > I'm proposing to add an option to composite destinations ( addHeaders ) that > will enable the addition of the originalDestination header to the messages. > The option will be disabled by default to preserve existing behavior by > default. -- This message was sent by Atlassian JIRA (v6.3.4#6332)