Can an MSMQ queued messages survive a service/server restart? What I mean is that if a queue has messages and the server were to experience a hard restart, would the messages be still available in the queue after the restart?
...
I've been trying to figure out if there is a way to get the following from a MSMQ queue:
Current message count
Average message life (on the queue)
Timestamp from first and last message (So you can use average message life to calculate a rough estimate on wait times).
The MessageQueue class in System.Messaging doesn't seem to expose a...
I'll start by saying I'm not a .NET developer, but have been thrown into a project where I need to use MSMQ so a classic ASP web application can send messages to a C# Windows Service that handles the processing. I have experience integrating other message queues with other languages, but like I mentioned, I don't have much experience wit...
I have a transation that doesn't seem to rollback and getting a strange error. I'm using a transaction that is connected to SQL Server 2008 on a different server and MSMQ on the same server as the code. Here is an example of the code:
void MyMethod()
{
try
{
using (var outterTrans = new TransactionScope())...
I have an application that consists of three parts:
a front-end web shop for end-users and business partners
an order-management system to handle those orders
a technical database system to handle all the technical details of those products and services ordered
Today, those systems (which are on separate servers and being developed b...
Hello,
We have a webservice where some operations are processing. When we stopped IIS, and than run it (we stop Publishing World Wide Web), we have such a problem.
The first request to the method which contains
MQPurchaseOrderWS data = (MQPurchaseOrderWS)m.Body
runs long. Sometimes our client has a timeout exception.
This situation ...
I can't figure out why I'm getting a 'Access to Message Queuing system is denied' error when trying to receive a message from a remote queue. (Msmq 5.0).
Sending to the queue is no problem, receiving from it is.
The security of the queue itself is configured to give full control to everyone and anonymous.
Any idea why sending to this ...
I'm having a strange issue with an MSMQ trigger. This is what I've done.
On Windows Server 2003 I've installed MSMQ
I then installed MSMQ triggers
I created a private queue called "TestQueue"
I created the rule as follows:
Name: "TestRule"
Condition: "Message label contains '-'" (All my message labels contain '-')
Invoke standalone ex...
What are the steps to be made to run an IIS7 Application Pool under a domain account? I know how to create a domain account and how to set the identity of the Application Pool.
My question is rather what rights does this Domain Account need to have? (logon right to the server? read rights to the files of the web sites running under appl...
I'm new to MSMQ and trying to understand when to use MessageQueueTransaction class. For example, is there any value to create a simple transaction just for putting a message in the MSMQ queue like this?
using (MessageQueueTransaction t = new MessageQueueTransaction())
{
t.Begin();
Message m = new Message(myString, formatt...
I have a .NET 3.5 Compact Framework application that uses MSMQ.
We are running this application on an Intermec CN3, Windows Mobile 5.0 device.
However, when our application first tries to active the MSMQ service with ActivateDevice (pinvoke), the application crashes and we get the error report message:
A problem has occuurred with m...
Dear ladies and sirs.
I have two machines in different domains. The domains are not known to each other (no trust between them). I wish to use the net.msmq binding to communicate data from one endpoint to another.
So, let A and S be two machines, where A must be able to send messages to S.
Then, in the config file of A, there is this ...
In the JMS world there is this concept called temporary destinations which is very heplful for request/response scenarios. The sender makes request on some destination and creates a temporary destination (which exists only as long as the session it is created in is stil there)for receving the responses.
Is there such a thing for msmq?
...
Scenario:
I'm using NServiceBus with MSMQ Transport.
I have messages from an app dropped into QUEUE-A.
I have a NServiceBus Gateway grab messages from QUEUE-A and send them to another Gateway
I the Destination Gateway receives the messages and places them into the respective queue.
Source Gateway throws a Null Reference Exception and...
Although my question looks similar to some already found on SO, those post did not help me, so here it is:
Given:
Two machines on the same segment (naturally in the same domain, actually on the same desk)
Both machines are Windows 7 workstations
Both machines have disabled firewall
Both machines see each other (ping works)
There is a ...
Is this possible? When I click outgoing queues, it says there are messages, but when I click the queue I can't see them.
...
I'm using WCF and netmsmqbinding. my environment is window 2003 server. the wcf servcie is hosting as a window service. thank you in advance for your help.
...
I'm working in the microsoft world and needing to create a transaction processing webservice. The webservice will receive a transaction and submit it to a queue. A second service will pull the transactions out of the queue and process them.
I have been considering two different approaches: database table (roll my own queue) and micr...
Hi
I have a Web App and a service sitting on the same machine and communicating via message queues. The problem I'm experiencing is that about half of the time the messages I send from the service are not arriving to the reading code in the web app. Some of them will arrive and some will not. The messages are sent with at least 1 second...