[ https://issues.apache.org/jira/browse/AMQ-5843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586384#comment-14586384 ]
ASF GitHub Bot commented on AMQ-5843: ------------------------------------- GitHub user cshannon opened a pull request: https://github.com/apache/activemq/pull/115 https://issues.apache.org/jira/browse/AMQ-5843 Adding a new property on PolicyEntry called includeBodyForAdvisory which will include the original message body when sending advisory messages that include the original message, instead of clearing it out. This is turned off by default. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cshannon/activemq AMQ-5843 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq/pull/115.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #115 ---- commit 267b8e6ce438ee119f7aee5294dee669db867362 Author: Christopher L. Shannon (cshannon) <christopher.l.shan...@gmail.com> Date: 2015-06-15T17:38:49Z https://issues.apache.org/jira/browse/AMQ-5843 Adding a new property on PolicyEntry called includeBodyForAdvisory which will include the original message body when sending advisory messages that include the original message, instead of clearing it out. This is turned off by default. ---- > Add option to include original message body for Advisory messages > ----------------------------------------------------------------- > > Key: AMQ-5843 > URL: https://issues.apache.org/jira/browse/AMQ-5843 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker > Affects Versions: 5.11.1 > Reporter: Christopher L. Shannon > > Currently some advisory messages such as messageConsumed or messageDelivered > advisories contain a copy of the original message set as the dataStructure, > but the message body is missing because it has been cleared out. > This is fine most of the time but it would be nice to be have the ability to > optionally include the original message body of messages. This should be off > by default because of the performance hit, but sometimes I want to have the > option to receive the message body content (ie the entire message) on the > advisory topic for auditing purposes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)