Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

MSMQ

$
0
0
Hi,

I have a problem sending messages between message queues. The sending of the messages is done using the automation of NAV2009 R2 (Classic). The receiving is done by .NET variables in NAV2016. I currently receive the send messages in my queue, but when I try to read them from NAV 2016 I keep getting the same error: "Cannot recognize the serialization format".
I have tried "System.Messaging.ActiveXMessageFormatter" and "System.Messaging.XmlMessageFormatter" but no luck.

Does anybody has an idea on how to continue?

nfjorn8kqbsk.png

The code that is execute:
QMsg := Q.Receive(TS.TimeSpan(0,0,10));
QMsg.Formatter := QBinaryFormatter.BinaryMessageFormatter;
CLEAR(myVariant);
myVariant := QMsg.Body;

Regards,
Tom

Viewing all articles
Browse latest Browse all 10032

Trending Articles



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