Description
introduced by fix for https://issues.apache.org/activemq/browse/AMQ-2103
contention on marshaling message received over vm transport for the first time causes potential null. With multiple topic consumers there is contention as the message has not been unmarshalled on dispatch to the topic due to the vm transport being used.
moving the set to null out of the beforeMarahallMessage removes the potential sync window that causes the problem.