I have a WCF service hosted as a Windows service. The WCF service uses msmq queue on the same server.
When the server is restarted my WCF service starts before the msmq service. This puts my WCF service in faulted state.
What is the best way to handle this? Should I set up a dependency to the msmq service? Is there a way to handle this...
I get the exception when executing the following code. Any ideas what is wrong?
string queueName = "FormatName:Direct=TCP:1.1.1.1\\Private$\\test";
MessageQueue queue;
if (MessageQueue.Exists(queueName))
queue = new System.Messaging.MessageQueue(queueName);
else
queue = MessageQueue.Create(queueName);
queue.Send(sWriter.ToStrin...
I have a public queue created in a remote machine. I am able to access the queue, create a message and send it from my workstation. However, when I access the remote machine that hosts the message queue, I do not see any messages. Any ideas on what I am missing? Is there anything that need to be configured to receive messages?
...
I have a WCF service hosted in a Windows service that I set to Automatic so it will start automatically when the server is brought up. The service is endpoint is MSMQ backed.
When I start the service manually, everything is good. But when the service starts on bootup, I get a MSMQ exception:
System.TypeInitializationException: The typ...
We have a scenario where we need to use update/insert queries to the database against incoming real time events. We can go for either of the options presented below
1- MSMQ
2- SQL Service Broker
3- Custom built caching mechanism (using file cache, Bulk Inserts, triggers to convert inserts into updates if rows already exist etc)
We are n...
Hi all,
I have a service which needs to run on multiple machines picking jobs off of a single queue ensuring each job is only undertaken by a single service. I also need to publish messages for all services to receive, such as reload triggers.
Is this possible in nservicebus without too much hacking?
I have proved that both the publis...
I am sending the same transactional message via C# to 3 transactional MSMQ queues
I have set the time to be received from 5second up to 900seconds.
Dead letter logging is on
All the permissions on all 3 queues are identical
The target queues are:
2 private queues on the sending machine
1 public queue on a remote machine
No matter how...
anyone know how to decode the msmqlog.bin file?
trying to figure out a msmq problem and it's located in the %windir%\debug directory
everything online says you have to send it to microsoft to decode? but i'd like to decode it myself
...
I have a BizTalk 2006 app which has a sendport using MSMQ.
I have also a WCF winforms hosting app with several WCF services (in the development environment, in production I use a windows service as hosting).
One of the WCF services that I created has a MSMQIntegrationBinding (due to the fact that BizTalk is not a WCF service, so NetMS...
Has anyone had any luck getting MSMQ multicast (PGM) to bind to a specific network interface using the MulticastBindIP registry setting?
MSMQ Multicast (PGM) always seems to bind to the first interface listed by ipconfig. In my case, I have VMware installed, so I have two virtual network interfaces (VMnet8 and VMnet1) as well as my netw...
Where can I find a list of the MSMQ permissions and what they really mean?
...
I would like to know what are your best practices in using and disposing a message queue. I would also appreciate if there is code especially in the disposing part in order to visualize your concept. The language is in C# or any .NET language will do. The queue that is being used is Microsoft Message Queues.
Currently I am encounteri...
We are hosting a net.msmq service in IIS7.
The queue is transactional.
Messages arrive in the queue and are picked up correctly by the service.
If an exception occurs, message is put into the retry queue.
The retry delay is set to 1 hour, however when this time elapses the message is not "re-tried".
If we browse to the .svc or send an...
At scheduled times (based on business rules), we need anywhere between 10,000 - 200,000 rows from a database to be processed by a long running operation. Each row needs to be processed individually (they don't depend on each other) and it is ok for this to happen asynchronously. The successful completion of the operation must be document...
I've never used MSMQ before, but that's OK. Neither has anyone else in my company. But one of our product vendors uses it voraciously, yet cannot figure out what's wrong with our system. So, I'm figuring out as much MSMQ as it takes to get it on the road.
I've got a working and a non-working installation to start with. On neither syste...
I'm trying to get a C++ service to load an XML document from a MSMQ message generated by C#. I can't really change the C++ side of things because I'm trying to inject test messages into the queue. The C++ service is using the following to load the XML.
CComPtr<IXMLDOMDocument2> spDOM;
CComPtr<IXMLDOMNode> spNode;
CComBSTR bstrVal;
...
Hi,
I have to create a WCF service that will accept thousands of requests every 5 minutes, which each request passing a small (1-5KB) text file.
The service will pass the file contents to another assembly, which will process the lines and insert some records into the database. Nothing too heavy on this side.
I need help on the followi...
How to set "S-1-5-32-554" or "Pre-Windows 2000 Compatible Access" group in msmq using C# code?
Thank in advance
Susanta
...
Hi guys ...I've been dealing with this problem since last week...none info in the internet that actually solve my problem....n I'm very very new to MSMQ
Whenever i try to create a new private queue....i get this error message
and then when i check services ,the Message Queuing Triggers is not started..when i try to start it ...it give...
MSMQ maintains a type of queue called "Outgoing Queues". These queues are used by the MSMQ service to hold messages destined for servers that it cannot contact when the message is generated. These are special, temporary queues that are separate from the normal Public and Private queues.
I've recently encountered a scenario where some ...