cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Narendra.Chaluchalamala
AppDynamics Team

How do I adjust settings to allow my JMS payload to write data to the JMS message?

To establish the correlation between tiers or applications, AppDynamics generates a "singularity header" which is passed to a downstream node.

In some cases, the JMS payload is not allowed to write any data to the JMS message, correlation behavior is impacted, and the following error message appears in logs.

17 Jul 2017 12:49:03,065 ERROR ReadonlyRewriting_JMSMessageReflector - MessageNotWriteableException caught while setting transaction header. To attempt modification of the read-only JMS message, add the object's package (org.apache.activemq.ra) to the jms-packages-allowed-for-rewriting node property. 

To resolve this issue, create a node property jms-packages-allowed-for-rewriting and change the JMS package name to the value of this property. This will ensure that JMS allows writing to the singularity header on JMS payload objects.

Example: 

Property Name : jms-packages-allowed-for-rewriting
Type: String
Value :org.apache.activemq.ra

jms-packages-allowed-for-rewriting.png

Version history
Last update:
‎09-12-2022 11:49 PM
Updated by:
Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here