Get Message from Message Queue
Get Message from Message Queue
Comments
-
Hi,
Is there a way to change serialization of Get Message method? For example default it to GetBody byte[] () and also make an option to pick type like GetBody string()
-
Hi,
The Get Message step returns either a byte array for the Payload or a string for the StringPayload based on whether youre using PushMessage with a string id and a string payload, or with a single MessageQueueMessage object. If you need to get a string from the byte array, you can use a get string from bytes step.
Thanks.
-
Akshada, this is not true... if somebody puts message on the queue that is not byte[]... Decisions will fail to deserialize it with Get Message step. It would be great to update this method to be able to pick type that message is serialized for.