Need to pass extra values apart from the payload in msmq

82 Views Asked by At

All,

I need to pass extra values apart from the Body of the MSMQMessage class, is there a way to do this ?

I understand that i can create a complex object and use that, but want to check if there are any other properties that i can use to pass few custom values on the MSMQmesasge class.

Thanks -Nen

2

There are 2 best solutions below

1
On

How about using the message label as a small data store?

2
On

Just for the record, you can also use AppSpecific field, altough it's just an int.