RE: Sending from MSMQ to MSMQ/T

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Stephen W. Thomas (StephenWThomas_at_discussions.microsoft.com)
Date: 01/11/05


Date: Mon, 10 Jan 2005 19:57:04 -0800


When you try to send the message from the client to BizTalk, do you see the
messages in the outgoing queue inside the MSMQ admin? What status do they
have?

If I remember correctly, If you try to send a message to a MSMQt that does
not exist (by not exist that is no enabled receive function) they will never
make it there. The sending host will just queue up all the messages in the
outgoing queues and say Host Not Found or something like that.

We struggled with your same problem for some time as well. We found that in
order to get our client service to send the messages to BizTalk we needed to
add the FormatName for the queue definition like this:
FormatName:Direct=OS:ComputerName\Private$\QueueName

We also found that if the connection was lost, we had to reboot both the
sending and receiving computers seems to make things work again. We have not
looked into this further as of yet and this is obviously not a good solution.

Hope this helps.

Stephen W. Thomas
http://www.geekswithblogs.net/sthomas

"Chris Bailiss" wrote:

> Hello,
>
> I am having problems sending a message from an MSMQ client to an MSMQT
> queue and would really appreciate any thoughts you may have. I have
> tried to keep the tests simple, but have had no luck. I have tried to
> give some background information to help narrow down the problem.
>
> The specific test which fails is:
> Send an MSMQ message from a client machine to an MSMQT queue on a
> BizTalk server. For this test, processing on the server was minimal -
> just using a ReceivePortName filter on a send port to drop a file into
> a folder.
>
> The sender is a simple VB program to send an MSMQ message from an MSMQ
> independent client to a server (on a seperate machine) running Biztalk
> 2004.
>
> The client machine is running Windows XP Pro and does belong to an
> active directory enabled domain, however MSMQ is set up in workgroup
> mode (i.e. no access to public queues).
>
> The server machine is running Windows 2000 however does not belong to
> the domain and Biztalk is not integrated to Active Directory.
>
> In terms of debugging this, I have:
>
> 1. Used the VB program on the client to successfully send a message
> to an MSMQ queue on another machine (which is also not a member of the
> domain). I have also managed to successfully send a message back from
> this other machine to the client. This leads me to assume that MSMQ
> on the client is functioning and that the VB program works.
>
> 2. Used an MSMQT send port to send a message from the server to a
> private queue on the client. (A filter on the MSMQT send port was
> used to pick the message up from a FILE receive location).
>
> 3. Tested MSMQT on the server (details below).
>
> The ports involved in the main test are:
>
> Port Name: receivePortMSMQT
> Queue Name: queueTestMSMQT
> Requires MSMQ Authentication: False
> Non-Transactional Queue: False
> Receive Handler: BizTalkServerApplication
> Receive Pipeline:
> Microsoft.BizTalk.DefaultPipelines.PassThruReceive
>
> Port Name: sendPortFile
> Address:
> c:\msmqtQueueMsgOut\%MessageID%.xml
> Non-Transactional Queue: False
> Receive Handler: BizTalkServerApplication
> Send Pipeline:
> Microsoft.BizTalk.DefaultPipelines.PassThruTransmit
> Filter:
> BTS.ReceivePortName == receivePortMSMQT
>
> As I mentioned above in (3) I have tested MSMQT by using a file
> receive location and a filter on another send port to drop the message
> into the queueTestMSMQT queue, using the same format name as the VB
> client program:
> DIRECT=OS:BIZTALK2004DEV\Private$\queueTestMSMQT.
> This test was passed, and I was thus able to move a message from one
> folder to another via MSMQ/T. This would suggest MSMQ/T is working
> correctly on the server.
>
> To sum all this up then:
>
> MSMQ seems to be working on the client.
> MSMQ/T seems to work on the server.
> I can send a message from the server to a private queue on the client
> using MSMQ/T to MSMQ.
> However, I can't send a message from the client to the server using
> MSMQ to MSMQ/T. The messages just don't seem to hit the server - i.e.
> there is no trace of them in HAT (though I guess if the queue qas
> incorrectly specified, etc then they wouldn't show up in HAT, Biztalk
> would in effect just ignore them?).
>
> It would seem then that either Biztalk isn't configured correctly or
> perhaps some security is preventing the messages from hitting the
> queue. I'm not sure what security settings could be interfering, or
> what config to check where, and would really appreciate any
> suggestions.
>
> Looking forward to hearing anyones ideas, and thank you in advance.
>
> Regards,
>
> Chris Bailiss
>



Relevant Pages

  • Sending from MSMQ to MSMQ/T
    ... I am having problems sending a message from an MSMQ client to an MSMQT ... queue and would really appreciate any thoughts you may have. ... processing on the server was minimal - ...
    (microsoft.public.biztalk.general)
  • Re: Architecture Evaluation
    ... messages in the queue. ... > 1) I think MSMQ fits nicely here, to let you do the processing of the ... > the data from the database and returns a single XML package containing all ... > processing to the client which could be a good thing... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: BizTalk MSMQ Adapter
    ... Is DOMDocuemnt30 using unicode by default? ... When I use biztalk 2006 MSMQ adapter receiving a message, ... 1- How does you calling application put MSMQ message into the queue? ...
    (microsoft.public.biztalk.general)
  • Re: Beginner looking for advice: polling with BizTalk
    ... I have run through the BizTalk tutorials and have read ... >> too much to set up a new MSMQ queue for each client. ... > windows forms application that created the queue and the BizTalk send port ...
    (microsoft.public.biztalk.general)
  • Re: Beginner looking for advice: polling with BizTalk
    ... I have run through the BizTalk tutorials and have read ... one client sends a message and that message is ... > too much to set up a new MSMQ queue for each client. ... windows forms application that created the queue and the BizTalk send port ...
    (microsoft.public.biztalk.general)