Message Queue ComCom-trigger doesn't execute

Hi anybody, I am working with the Navision Communication Components to receive and send Message Queues. My code is the following: OnRun IF ISCLEAR (MQBusAdap) THEN CREATE (MQBusAdap); IF ISCLEAR (ComCom) THEN CREATE (ComCom); MQBusAdap.OpenReceiveQueue (’.\navisionresourcerequest’, 0, 0); ComCom.AddBusAdapter (MQBusAdap, 1); ComCom Messaged Received ComComInMessage := InMessage; IF (ComComInMessage.ExpectReply) THEN BEGIN StreamIn:= ComComInMessage.GetStream(); StreamIn.READ (txtText1); MESSAGE (txtText1); ComComOutMessage := ComComInMessage.CreateReply(); StreamOut := ComComOutMessage.GetStream(); StreamOut.WRITE (‘TEST Navision Feedback’); ComComOutMessage.Send(0); END; ComComInMessage.CommitMessage(); More or less this code is the standard to use ComCom to receive Queues. But I have a big problem: The trigger Message Received (Automation server ComCom with events) doesn’t execute when messages arrive… I have really no more idea… Thank you for any posting! Andreas Cologne, Germany

How does the message get to your queue? There’s a couple of things you should know: - The queue MUST be a NON-transactional queue. It does not know how to deal with a transactional queue. I’ve seen messages being ignored in transactional queues, but I’ve also seen them disappear. - The incoming message MUST have a label value “Navision MSMQ-BA”. The MQBus adapter is hardcoded to only pick up messages with that label. If you use another Navision object to send the message, it will automatically set the right label, otherwise you will have to hardcode it. Other than that, it should work.