Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Cloudfx published messages gives serialization error when read from deadletter

$
0
0
I am using cloudx frameworks publisher subscriber mechanism for processing messages through azure topic/subscription.

Some of the expired messages are moved to DeadletterQueue. When i try to read those deadletter messages using MessageReceiver, i get serialization error.

    var msgReceiver = msgFactory.CreateMessageReceiver(deadletterPath);
    BrokeredMessage msg = msgReceiver.Peek();
    UserExitMessage deadLetterObject = msg.GetBody<UserExitMessage>();   

It seems cloudfx frameworks modify ( or encode ) the messages and hence they are not able to deserialize properly. Does anybody knows mechanism to read deadletters using cloudfx.

Any help would be appreciated as i am stuck from quite some time.

P.S. - This issue occurs only with messages there are published using cloudfx, for deadletter messages that were send using TopicClient code works fine.

Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>