|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
messageData limited with application activity trace |
« View previous topic :: View next topic » |
Author |
Message
|
vasilev |
Posted: Fri Mar 15, 2024 6:43 am Post subject: messageData limited with application activity trace |
|
|
![](images/avatars/19296965396366b54d5ba69.png) Acolyte
Joined: 31 Oct 2014 Posts: 58 Location: Germany
|
Hello,
I have configured mqat.ini like:
Code: |
AllActivityTrace:
ApplClass=USER
ActivityInterval=1
ActivityCount=100
TraceLevel=MEDIUM
TraceMessageData=10000
StopOnGetTraceMsg=OFF
SubscriptionDelivery=BATCHED |
according to the information provided from the vendor:
TraceMessageData 0 - 104 857 600 ( maximum 100 MB) Amount of message data traced in bytes for MQGET, MQPUT, MQPUT1, and Callback operations
In my case it is 10000 bytes. but even in this case - I have tested with some sample text with amqsput:
"Prevent the sample activity trace program from generating data"
and in the end I receive :
"Prevent the sample activity trace progra"
'messageData': '68652073797374656D207265736F7572636520524C494D49545F4E4F46494C452069732073657420', 'msgLength': 152,
I am reading with amqsevt .. -q SYSTEM.ADMIN.TRACE.ACTIVITY.QUEUE -w 1 -o json | jq . -c --slurp
Do you know why is this happening, am I missing something..
thank you ! _________________ Regards
V.Vasilev |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
vasilev |
Posted: Fri Mar 15, 2024 7:09 am Post subject: |
|
|
![](images/avatars/19296965396366b54d5ba69.png) Acolyte
Joined: 31 Oct 2014 Posts: 58 Location: Germany
|
I have answered myself ..
#define MAX_FORMAT_DATA_LEN (40) /* Max bytes to print of message data */
So here is the other question .. if I change this to 10000, what will be the change to the CPU/MEM usage .. is there some optimal max limit that has no impact to the QM
thanks _________________ Regards
V.Vasilev |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
|
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|