msmq

Cant send to MSMQ with 2 DNS names

Having an issue with sending an MSMQ message to the second DNS name on a server. If we send the IP for that same server, we're fine, but thats not where we are going architecturally. Any ideas as to why MSMQ would care about which name it receives? Here is our example : Server Information: The physical server load-int-01, has a secon...

Messaging platform

We're considering a messaging platform to integrate two core systems in a banking environment. We're looking at open source options. Which products have you used and can you share experiences? ...

MSMQ: Acknowledgments not returned when delivering to a remote queue

I have the following scrap of code to test MSMQ acknowledgments: static void Main(string[] args) { string queuePath = args[0]; string ackQueuePath = args[1]; MessageQueue queue = new MessageQueue(queuePath); MessageQueue ackQueue = new MessageQueue(ackQueuePath); Message message = new Message("Body text"); message.Label = ...

Testing Whether a Remote MessageQueue Exists (using C#)

How can I tell whether a remote message queue exists? The documentation states that the "Exists" method does not work for remote machines. The following is not valid (I know the queue path is accurate since I am able to send messages to the queue): if (!MessageQueue.Exists(@"FormatName:Direct=TCP:192.168.2.58\Private$\MyQueue")) th...

WCF MSMQ priority

Is there any way to do priority settings with MSMQ using WCF. I know this might be a duplicate question so bear with me. I basically just need to give a low and a high priority. I am not really wanting to do 2 services as both of them would be doing the same. Any Ideas? ...

Did i understood MsmqPoisonMessageException wrong?

If i got a service definition like this: [PoisonErrorBehavior] [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Multiple)] public class MsgQueue: IMsgQueue { public void ProcessMsg(CustomMsg msg) { throw new Exception("Test"); } } ( where ProcessMsg is the registe...

Is MSMQ a good idea

System A captures X information from users via UI. This information is validated and persisted in a database. The user can change, add or delete the information. I have to keep this X information is sync with System B using web service. Also I need to send this information as soon as possible after its persisted in the database. I thoug...

How do I get MSMQ performance counters?

I have a bunch of MSMQs that I have created programatically using MessageQueue.Create(path) but when I look in perfmon I don't see those queue instances listed, only queues I created manually are listed. How do I get perf counters for all the queues? ...

Throttling MSMQ messages / prioritising messages

I'm not sure how best to describe this, or the best title, so bear with me! I'm using MSMQ to queue up a large number of commands that will fire off HTTP requests to various websites and APIs. In order to avoid hammering these services (and to stay within certain pre-defined request limits) I need to ensure tasks hitting the same domain...

create Message queue

how to create Message queue on remote machine in c3 or vc++ ...

MSMQ : How to purge system queue journal programaticaly ?

Need to batch a weekly purge of the System queue journal. ...

MSMQ for Managing Threads?!

I am building an application where I have inputs from printers over the network (on specific ports) and other files which are created into a folder locally or through the network. The user can create different threads to monitor different folders at the same time, as well as threads to handle the input from threes printers over the netwo...

How to purge MSMQ system queue journal programaticaly on a workgroup installation ?

I try this : MessageQueue mq = new MessageQueue(".\Journal$"); mq.Purge(); It work good on XP. But, on windows 2003 server, I always have this error : "A workgroup installation computer does not support the operation." ...

Is it possible to capture MSMQ messages from a private queue or add a second destination?

The project that I'm working on uses a commercially available package to route audio to various destinations. With this package is a separate application that can be used to log events generated by the audio routing software to a database e.g. connect device 1 to device 3. I have been tasked with writing an application that reacts to sp...

Clarification on writing MSMQ 4.0 message consumer application?

I need to write an application (not a sevrice or web service) that consumes messages from an MSMQ 4.0 queue and want to make use of 4.0's features such as poison message handling. I see a lot of examples of WCF Services to consume messages from MSMQ queues, for example http://www.devx.com/enterprise/Article/39015, is this the sort of th...

wcf msmq service activation fails

I have wcf service using net.msmq protocol but service fails to activate with following error. What could be wrong? Looks like it is trying to find machineid or something in AD but why? Sevice name is like net.msmq://localhost/private/myservice.svc A connection with Active Directory cannot be established. Verify that there are suffic...

How to design a service that processes messages arriving in a queue

I have a design question for a multi-threaded windows service that processes messages from multiple clients. The rules are Each message is to process something for an entity (with a unique id) and can be different i.e DoA, DoB, DoC etc. Entity id is in the payload of the message. The processing may take some time (up to few seconds). ...

Sending messages to MSMQ using a WCF service

I've created a WCF service to send a message to an MSMQ, I can get it to run and it looks like the message was sent but when looking at the queue it's not there. I've verified and the queue is not a transactional queue. Security is open so that everyone can send messages but I'm wondering if there are other places to set security? Here...

How do I resolve a InvalidOperationException when reading MSMQ using ActiveXMessageFormatter?

How would you avoid the InvalidOperationException created by the MSMQ sender and receiver below? Any help you can offer would be greatly appreciated! I have a feeling it might be related to the BodyType attribute of the sender, but I do not know the proper domain of values for the attribute. Sender code: using System; using System.Co...

WCF self hosting with msmq endpoints

I don't know if anyone tried it, but I am trying to self host two services that are listening to a queue endpoint, both services are hosted in the same application (console app). in my program Service1 sends a queue message to service2... this works for a while and after a few hours the second queue stops working... The host is not fa...