msmq

No permission to access a private MSMQ

On an XP machine there is a private messagequeue that was created by a .net service. When I want to access this private queue in a VB6 application I keep getting an "Access is denied" error. So it seems this is a security issue, only I don't understand why even when I am logged on as an administrator I still can't have access to queue th...

How does MSMQ manage messages?

It seems that MSMQ doesn't use any Database management system to manage messages. How does MSMQ manage messages? Does it store the messages in flat file? I'm trying to implement a messages management system. It's my exercise. ...

MSMQ Vista x64

I am running Vista Ultimate x64 on my system. I have an application that works fine on a remote server to send messages to the MSMQ instance running on it. When I bring the application to my local system and attempt to send a message it doesn't send, but doesn't error out either. I even tried setting up a local MSMQ instance and the same...

Is there a tool that allows easy exporting of messages from a message queue (MSMQ)?

I am currently working on batch processing application using MSMQ in C#. In the application design, I have an error queue containing XML messages using the ActiveXFormatter. I know that I can write an application to write these error messages to text files or database tables. Are there other pre-built tools available allowing you to ...

What is the best way to automate integration testing MSMQ with Visual Studio Test suite / NUnit?

I would like to create a series of automated unit tests for an MSMQ application I am writing. As I see it, the challenge is how to accommodate the event handlers from the test method. That is, I send a message from the test method and need to return a result back to that test method that the message has been received and handled. I ha...

MSMQ for Server to Client Comms

We were looking at MSMQ for persistent ‘push’ server to client communication. There can be up to 1000 clients per server. In one of our tests, we sent a small message to 300 offline clients, and then sent a message to an online client. The last message was delayed by over 40 minutes as MSMQ worked its way through the undeliverable messa...

Is it ok to never delete from a MSMQ?

I have inherited an application that pulls messages out of an MSMQ does some processing to them and then adds some data to database depending on what is in the message. The messages are getting pushed into the Queue by a third party application I do not control. I do not know much about MSMQ, although I do have a basic understanding of ...

Remote MSMQ Receive Error in C#

I am trying to send and receive from a remote queue. I can get the send to work (I see the message in the queue), however, when I try to receive I get an access denied error. My computer is on a different domain than the remote queue's computer, so I'm pretty sure this has something to do with the issue. Here is the code snippet: Mes...

How to configure WCF end-to-end logging?

Hi, I have a problem that I'd like to solve, but I don't know how to configure end-to-end logging in WCF (I'm not sure I can solve my problem even with end-to-end logging enabled). I have three applications (A, B, C) that use WCF service through NetMsmqBinding to communicate with each other. A is the host, and B and C are clients of the...

MSMQ: Unable to retrieve some messages

Hi. I encountered a problem yesterday with MSMQ and I would like to know the reason for it. I have a server sending messages to a MSMQ, and a client consuming those messages. Yesterday the client stopped retrieving one type of message, yet was able to retrieve another type of message that was sent after. I've read some stuff regarding P...

MSMQ works on TCP or UDP?

hi. i want to know that MSMQ (Microsoft Messaging Queue) works on TCP or UDP?? and on what ports? ...

Handling failures with MSMQ in BizTalk by resending

Has anyone got any pointers on good practices / potential designs for handling the situation in a BizTalk orchestration were the response from a long-running service has failed, so the initiation message needs to be resent I have the situation where an orchestration is sending a message to an MSMQ queue and then waiting on a response ba...

Changing the polling interval on BizTalk MSMQ receive adapter

Is there some setting that affects the polling interval in a BizTalk MSMQ receive adapter? I've read the section in Professional BizTalk 2006 that "this is set to 1/2 second and is not configurable", but the delay on my test box seems to be about 10 seconds ...

WCF MSMQ callback function

I have a system that sends a object to another service via WCF using MSMQ. The service picks the message up fine and does what it have to with it. But the problem i have now is that i need to send a response to the calling system. Example: Create a Customer object Populate the information Send the message to the service using WCF ove...

Monitor MSMQ

I'm trying to monitor a remote private msmq in a Server 2003 cluster with the MSMQ Local Admin API and the mgmtinfo.exe utility. I can list the queues on the clustered resource with the command: mgmtinfo.exe server-name machine but cannot get information about the individual queues. I'm having difficulty crafting a correct format name...

How to write a transactional, multi-threaded WCF service consuming MSMQ

I have a WCF service that posts messages to a private, non-transactional MSMQ queue. I have another WCF service (multi-threaded) that processes the MSMQ messages and inserts them in the database. My issue is with sequencing. I want the messages to be in certain order. For example MSG-A need to go to the database before MSG-B is inserte...

Trouble sending messages via MSMQ from a windowsmobile device

Hi, I am attempting to send a message using MSMQ from a mobile device to a remote private queue on a server. Whats happening? I do not experience any errors when the mobile code sends the message. If I look at the msmq folder on the mobile device it has indeed created a .oq (outbound queue) file for the remote that it is sending to. I...

How do I stop my System.Messaging.MessageQueue from wrapping my strings in XML?

I need to communicate with a legacy application from my C# app via the Windows Message Queue. The legacy application expects plain string messages in a particular private queue, but I can't seem to stop the System.Messaging.MessageQueue from wrapping my message in XML! The code I'm testing is very simple: MessageQueue myQueue = new Me...

Receiving the Same MSMQ Message Twice?

I have an MSMQ-based system with three layers that communicate with each other. For the sake of simplicity, I'll refer to them as Layer 1, 2, and 3. They sit like this: Layer 1 <-> Layer 2 <-> Layer 3 So Layer 1 talks only to Layer 2, Layer 3 talks only to Layer 2, and Layer 2 talks to both others. I have four queues for this, Layer1...

MsmqIntegrationBinding Serialization with Unknown Message Body Types

I'm looking to use the MsmqIntegrationBinding to integrate with a legacy queue which has a serialized object as the message body. Has anyone come up with a way to obtain the "metadata" of the message body and create a service side class to use within the service? For example, if I put in a serialized Product object from System A and my...