msmq

Is there a tutorial for inserting messages into MSMQ 3.0 using PHP over HTTP?

Background: The MSMQ is hosted on Windows 2003. The queue that will receive the messages is a public queue. I have installed MSMQ HTTP Support on the server. From some of the white papers on MSDN, it appears that you can insert messages into MSMQ using SOAP/XML. The process, however, of just finding the WSDL endpoint is not clear t...

WCF net.msmq service auto activation

Hi, I have to WCF services which use the net.msmq protocol, hosted in IIS 7. My problem is that the services do not activate when a new message appears on the queue, you have to physically browse to the services first, before they will start picking up any messages. Is there any way to auto activate these services? Thanks in advance ...

Wcf-MSMQ: letter is being delivered, but service is not called?

I have a MSMQ application using WCF's netmsmqbinding. In the default configuration, and with active directory integration enabled, everything works fine. However, when I try to turn off security (using the netmsmqbinding's binding configuration), it seems as if the messages on the queue are received, i.e. messages are being posted, beca...

MSMQ and polling to receive messages?

Hi folks, I've got a windows service that does some image conversion. It works by firing off when any file (in a particular folder) is renamed (ie. rename file watcher). Works great until I have a massive amount of images dumped (and renamed) in that folder. CPU redlines, etc.. So, I was going to change my code to use MSMQ to queue all...

MSMQ on a domain controller defaults to workgroup mode, how to switch to Domain mode?

I have a Windows Server 2008 machine acting as Domain Controller for a test domain and I have installed MSMQ on this server including the "Message Queue Server", "Directory Services Integration" and "Message Queueing Triggers" features. I've also installed MSMQ onto a second machine in the domain that is running Server 2003. The insta...

MSMQ .mp files - What are the different types?

I had MSMQ fill up on me the other day (forgot to turn off journalling on a queue) and saw in the storage folder that there seems to be different types of .mp files. Some were p*.mp and are 4096K, and others are l*.mp and are 8K. What are the differences between these files? ...

Why WCF doesn't automatically affect the To header on outgoing message with the ReplyTo of the incoming message ?

I have a service which send a message with the ReplyTo header set to a return address. I thought that : OperationContext.Current.GetCallbackChannel<IHelloCallback>().RespondHello("tomi"); will automatically invoke my client, but I receive this exception : For sending a message on server side composite duplex channels, the messag...

how can i get all the available messages on a MSMQ Queue

Whats the best way to get all the messages currently on a queue to process? We have a queue with a large number of very small messages, what I would like to do is read all the current messages off and then send them through a thread pool for processing. I can't seem to find any good resource which will show me how i can create a simple...

MSMQ storage in database

MSMQ stores messages on file system. Is there no way to configure MSMQ to store messages in database? I looked for options but couldn't find any? ...

Communication between two separate applications

I have developed a windows service which reads data from a database, the database is populated via a ASP.net MVC application. I have a requirement to make the service re-load the data in memory by issuing a select query to the database. This re-load will be triggered by the web app. I have thought of a few ways to accomplish this e.g. R...

MSMQ in .net as a Service

Hello, We have a Java WebService which is sending messages(XML file with a set of records) using MSMQ. I need to build a small application in .net using VB.net which should pick those messages and read them and insert into SQL database. Do you guys have any suggestions? How can we read MSMQ messages on real time. Any resources or link...

How can I programatically set the owner of a MSMQ queue?

I have a powershell script that creates some private queues for me. However, the queues default to being owned by whoever ran the install script. I'd prefer to have them owned by a group (i.e. - Administrators or some such). Anybody know how to do this? foreach($strQueue in $strQueues) { if (![System.Messaging.MessageQueue]::Exists...

Use WCF to receive any XML message from an MSMQ Queue?

I have an MSMQ that receives XML format messages from various sources. I have a WCF endpoint (using MsmqIntegrationBinding) that I want to receive these messages. I defined the following: [ServiceContract(Namespace = "http://TestApp.MSMQService", ProtectionLevel = ProtectionLevel.None)] [ServiceKnownType(typeof(String))] public interf...

How to delete MS Message Queue from Active Directory - Error A queue with the same path name already exists

I deleted a Public Queue from my local box this morning and then went to recreate the queue. When I go to recreate it I get the message: Error: A queue with the same path name already exists From research it appears that the queue gets replicated in the AD and sometimes it doesn't delete. So now the AD admin has to delete this for me,...

Hi load server with load balancing, using WCF and MSMQ

Currently I'm developing a spatial data processing server. Here are requirements: Server must be able to receive and handle about 150-200 small messages per sec(gps fix, some additional data). It must be scalable. For example to run on several machines and balance load itself(without nlb) Currently I have tested this kind of architec...

How to check the MSMQ messagebody is valid or not

Hi, Iam new to .Net and working on MSMQ I want to check whether the body of a message receives is valid or not , so I am doing a validation " msmqMessage.Body == null " , but this throws exception . I also found that the bodytype is 0 when this happens other wise it will be 768 So is it ok to check whether the bodytype ==0 for invalid...

Why can't I receive a message from my remote public transactional queue?

I'm using C# on Windows Server 2008, and I want to receive a message from a public transactional queue on another machine in the same domain. The error looks like this: System.Messaging.MessageQueueException: Cannot import the transaction. at System.Messaging.MessageQueue.ReceiveCurrent(TimeSpan timeout, Int32 action, CursorHandle c...

Automated MSMQ Setup with Powershell

I am in the process of configuring a new test server for an application I support. It uses around 35 different MSMQ queues and creating these manually is obviously not loads of fun. Especially since the production version of the application is also moving servers so I'll get to do this all over again. What I'm looking for is an automated...

Is there such a thing as a MessageQueueWatcher in .NET?

I currently use a System.IO.FileSystemWatcher as part of a "roll your own" message queue system (passing XML "messages" between servers using SOAP web services, writing the "messages" to a specific folder on disk where a Windows Service running a FileSystemWatcher pounces on the new "messages" as they arrive and do something productive w...

Getting Message by priority from MSMQ

hi. i am sending messages in MSMQ by setting its priority. using C# can i get the message from MSMQ having high priority first? just like we get in Priority Queue. and one thing more.. suppose there are three priority level 0 - high 1- medium 2 - low the sequence in queue is 2001122221111100 now if i send message with high prior...