Questions tagged [msmq-transaction]

20 questions
7
votes
0 answers

System.Messaging.MessageQueueException- External component has thrown an exception

I run .exe through windows service which reads the message from Private Queue. The service is all good and stable but at times the service stops (it actually does not stop, but it is not processing anything. Service status is still "Started", I need…
Bharathi
  • 1,015
  • 13
  • 41
7
votes
1 answer

MSMQ competing consumer

Can someone tell me whether MSMQ (using transactions) supports competing consumers? Basically, I have multiple threads dequeueing messages off of a single queue. Just wanted to make sure this will work since MSMQ sometimes behaves differently than…
HH.
  • 129
  • 6
3
votes
1 answer

Am I obliged to call EndPeek after using BeginPeek?

I have a Windows service that processes a private, local message queue (MSMQ). When it starts, it registers an event handler for PeekCompleted on the queue, and it then calls the asynchronous BeginPeek() to wait for a message to arrive. protected…
pleinolijf
  • 891
  • 12
  • 29
2
votes
1 answer

Benefits of using MQTT vs another push notification service for android?

Hey guys, I am new to android development and I am curious on what is the "best" or most customary way to enable push notifications on an android app from a server. i have been reading online and have seen two major ways that people implement push…
2
votes
0 answers

WCF MSMQ last message in the transaction

Is there is a way in WCF MSMQ to know if I am processing the last message in the transaction? I did lot of searches I found that there is a property IsLastInTransaction but this property not available in MsmqMessage Class it only available in…
2
votes
1 answer

Receiving message in a transaction

I am writing a basic MSMQ producer and consumer and I'm getting tripped up when trying to receive a message as part of a transaction. The queue is on a Windows Server 2003 machine and it is definitely set to transactional. My producer is able to put…
Dewald Swanepoel
  • 1,651
  • 4
  • 15
  • 38
2
votes
1 answer

MSMQ: How do you send a msg from transactional dead letter queue to a private queue on remote machine

Windows Server 2012 MSMQ 6 Workgroup Mode We've had issues trying to recover MSMQ messages that were sent to the transaction dead letter queue. We've tried moving them to the outbound queue, the message seems to send fine (even the Event Log says…
David Williams
  • 401
  • 3
  • 15
1
vote
1 answer

MSMQ Transaction with COM (python)?

I'm attempting to use MSMQ from Python using the win32com library, similar to this example. I'm able to put messages onto the queue, but in this case it's a transactional queue, so I need to create a transaction around the message send. Basically…
Parand
  • 102,950
  • 48
  • 151
  • 186
1
vote
3 answers

Read WCF MSMQ Message from C#

I used a WCF client to send msmq message to WCF Service, before WCF Service process the msmq message, I want to check the body of the message. After checking the content of msmq message body, I got below result. But, I failed to get the exact…
Edward
  • 28,296
  • 11
  • 76
  • 121
1
vote
0 answers

msmq message received more than one time in wcf service

I have a wcf service with msmq binding. WCF service process messages receives from MSMQ queue. I am using transactions in client and wcf both. I am having a issue that even after successful processing of the queue message, the message is not…
1
vote
1 answer

ReBus Application shows Message Queue Performance Issue in ANTS Profiler

We have web Application built in AngularJS, ReBus and NHibernate. While working on Performance optimization, REDGATE's ANTS Profiler shows that most of the time required to execute MessageQueue.StaleSafeReceiveMessage And Call Graph will look like…
Constant Learner
  • 525
  • 4
  • 13
  • 30
1
vote
1 answer

MSMQ no error but message stuck in outgoing

I am trying to send MSMQ message using TCP but the message is just stuck in Outgoing queue . Also when I am creating MessageQueue object it does not throws any error but on putting a breakpoint and trying to see the Properties I can see errors like…
Piyush
  • 349
  • 1
  • 7
  • 22
1
vote
1 answer

MSMQ Distributed Transaction (DTC) cannot import transaction

I need to receive, process and send a message in one transaction. Since MSMQ does not support Transactional Remote Receive, I use DTC for that. Right now, I can't even receive a message. Here's the code I use for that: string queueName =…
Sebastian Edelmeier
  • 4,095
  • 3
  • 39
  • 60
0
votes
1 answer

MSMQ - Using remote read and remote send on the same queue

If using MSMQ 3.0, or 4.0: I fully understand that the following is not a common, or "correct" way to use a queue, but the point is solving a specific issue immediately. Is it possible to perform a read from a remote queue and a write to the same…
0
votes
1 answer

Getting time out while running on msmq queue on more application hit

We have batch file for processing the applications through msmq, when the application count is more for ex: 40 at at a time, when it is picking the application in queue, remaining applications are getting time out, as the waiting time for all…
1
2