msmq

Should I put Images on MSMQ

For one of our application we are thinking of putting scanned images onto MSMQ sizing 10-12k and roughly around 15000 images throughout the day (150 MB). Does anyone think there could be possible problems performance wise? Any suggestion should we go for this approach or not and if not what else? We are going to WCF with MSMQ binding. ...

installing MSMQ with bat file or some automated stuff

We are creating a service which requires MSMQ, and it might happen the boxes where we install doesn't have MSMQ installed. So I want some mechanism which can install MSMQ as a prerequisite when installing my service. Any suggestions?? Some how i manage to find from the below answer I am using the below in the .ini file & bat file but ...

MSMQ Access Denied

I am attempting to access a queue and receiving an access denied error. The confusing part is the queue is setup to allow everyone at full control as well as anonymous and machinename$ (all three are full control - it's a test system so not a big deal). I am able to successfully write to the queue but can't Peek/Read/Receive from it. I f...

MSMQ 3.0 / 4.0 download

I need to use messaging using MSMQ in a project at work and my developement environment (Win XP SP3) came with MSMQ 2.0 only. Need some features of MSMQ 3.0 (like poison queues) and am having a hard time finding the installable for it. Your help is appreciated Thanks Venu ...

Ensure / Verify message delivery using MSMQ (C#)

How do you 'verify' that a message sent using MSMQ to a private local queue was actually delivered? I'm especially thinking of a scenario where the listener (a C# service in my case) is not running and therefore delivery can't be successful. ...

Reading data from MSMQ and marking it as read

We are using MSMQ to store an object. The client application (which is asp.net UI) reads data from the queue. We have 2 cases which i think .Net MessageQueue does not support directly Case 1: When the object is read from the queue. We need to do some processing on the object. If the processing fails (this will happen if the user ...

Removing all the messages from MSMQ

I have a Nunit test which adds message into MSMQ. In the teardown of the NUnit i want to remove all the message from the queue. Is there a direct way to remove all the messages from the queue (some kind of refresh) ? ...

Removing Message from Queue only if user does some operation

We are having MVC application which reads data from MSMQ. We are trying to find out a way to read message from queue and remove it from queue only if user has done a successful operation on the queue. The message should remain in the queue until user completes the processing, the message should not be available to anyone else until the u...

Max number of transactions in MSMQ

We are planning to use MSMQ transaction in one of our application. I am not sure what is the maximum number of transaction we can have for MSMQ? ...

SQL Server Message Broker - External Activation

I have a Sql Server inside a restricted network. I need to somehow get data from the outside in. I would like to harness the use of Message Broker. My thinking is the external db places a message on a queue then I require a service that sits inside of the restricted LAN to listen (poll?) for these messages and then act upon them. I can...

Multiple consumers for a single queue in MassTransit

Is it possible to have several consumers listening on a single MSMQ instance and use the Selective Consumer interface for having each one deal with a distinct subset of the messages? I can't seem to get this scenario to work correctly using pub/sub - a single consumer on the queue works fine, but when using >1 consumers (several instanc...

How do you detect unrecoverable data loss when using MSMQ's multicast?

When using MSMQ multicast, if a (multicast-enabled) queue receives some messages and then the machine experiences a temporary network connection loss then it will begin receiving messages again when the connection is re-established. If the network outage is short in duration then the queue will receive all of the messages (even those tha...

What happens to an MSMQ transaction when the application is stopped?

I have Windows Services that are reading from MSMQ queues, performing some work, and then sending to either another queue or another service. Everything is transactional, so if there is a failure the message will remain / revert to its original queue for reprocessing. Some messages have now 'disappeared'. I don't see how this can happ...

WCF MSMQ binding with an IIS service - how to instantiate the service?

I have a WCF service with netMsmqBinding. My client can send messages to my queue, and when the service is running it retrieves messages from the queue as expected. If the service is not running, messages received are queued until the service starts. My problem is that the service does not start when a message hits the queue. The ser...

Can you send messages using MSMQ to a machine not in the same domain?

I haven't read enough about or used MSMQ till now. For many years now, I've only known that they exist. So, forgive me if my question indicates lack of rudimentary knowledge on the subject. If I have to send a message from machine A to machine B, but they are not on the same network, is it possible to use MSMQ as the message delivery me...

Use MSMQ dead letter queue or Admin queue to handle unsent messages?

I'm developing a system which will be posting messages onto a remote MSMQ queue. If messages cannot be delivered or received then I would like to attempt a resend at a later time. One approach would be to list all the System Dead Letter Queue (DLQ) messages on the sending computer and resend any relevant ones. Another approach would be ...

Is a System.MessageQueue (MSMQ) message lost if my function fails while processing it?

I send a message using the following code: var transaction = new MessageQueueTransaction()) transaction.Begin( ); var message = new Message { Body = myContent, Recoverable = true }; m_oMessageQueue.Send( message , myTransaction ); transaction.Commit( ); And receive it using a BeginRecieve and a ReceiveCompleted event hand...

Delete MSMQ Queue During Uninstall

Is it possible to delete a private message queue that was created by the service user? During uninstallation, we would like to clean up any message queues created by our application. For security purposes, access to these queues has been restricted to the current user (ServiceUser). During uninstall, we have admin privileges, but stil...

C# String Array Deserialization Problems

I'm having a really strange issue serializing to an MSMQ and back. The object being serialized contains a string array; one of the strings in the array contains spaces and carriage returns ("\r\n"). The object is constructed fine and seems to serialize without a problem, but when I deserialize it (in another project), the array now con...

Slow MSMQ within a WCF service

Hi all, this is a weird thing. I created a simple SOAP based web service with WCF. When the 'SubmitTransaction' method is called, the transaction is being passed on to an application service. But if the application service is not available, it is being written to a MSMQ. Like this: public void SubmitTransaction(someTransaction) { t...