Posts

Showing posts from June, 2011

MSMQ Dynamics Sendport – TimeToReachQueue not Infinite

Image
When using a Dynamics MSMQ SendPort, be aware to set the TimeToReachQueue to a higher value then 0! I had created an Itinerary and could not see any messages…It turns out that the TimeToReachQueue interval is somehow ignored when using Dynamic MSMQ send ports. If the interval specified by the TimeToReachQueue property expires before the message reaches its destination, Message Queuing discards the message in one of two ways. If the message's UseDeadLetterQueue property is true, the message is sent to the dead-letter queue. If UseDeadLetterQueue is false, the message is ignored. In my case the solution was to set the interval to a higher value than 0, otherwise the message has to be submitted to the queue very quickly! (I noticed this only during bulk/stress-testing so I might slip you attention!) http://msdn.microsoft.com/en- us/library/system.messaging.message.timetoreachqueue.aspx http://www.44342.com/BizTalk-f20-t14495-p1.htm Cheers, Sander   Tags van Technorat...

Configuring ESB Portal resubmit

When setting up the ESB Portal we didn’t see the receive ports. After some digging around it seems that the content type is not correctly set resulting in not showing up the available receive locations. A minor change in the SP solves this problem… Modify the Stored Procedure: EsbExceptionDb. usp_insert_Message   IF (@ContentType = 'text/plain' AND LEFT (@MessageData,1) = '<' ) BEGIN SET @ContentType = 'text/xml' END   See the very useful post on the BizTalk forum   HTH, Sander Nefs

MSMQ with ‘Authenticate’ enabled for communicating with Dynamics AX

Image
Hereby my findings on how to communicate with a remote MSMQ with the ‘Authenticate’ property set (required for Dynamics AX MSMQ inbound Channels). There are 2 ways how MSMQ (4+) works, either in workgroup mode (when you only install MSMQ) or in active directory mode (when you choose 'Directory Integration'). The Logon Info only works when you work in workgroup mode. When you set the 'Authenticate' flag on the Queue the Logon Info is useless...implicitly you are using personal user certificates that are installed when you logon to the machine. So my issue was resolved once i got it working with the certificates, although i would expect that the Logon Info should work hereby my resolution: - Logon to the client machine where the Send port is defined using the Host instance account - Open Features\MSMQ\Properties - Go to the tab 'User Security' - Click on 'Register' to Register the public part of the certificate in the active directory (...