Questions tagged [netmsmqbinding]

This is a WCF specific binding that pushes/pulls .NET data directly into MSMQ.

The NetMsmqBinding allows WCF services to insert or retrieve data directly into/from MSMQ. The configuration available for this binding is suitable for most users needs.

If a custom implementation is required, the developer should interact with the MSMQ directly through the MessageQueue and Message classes.

87 questions
1
vote
2 answers

MSMQ only tries 3 times to receive a message before an error occurs

I have some messages in my queue. Now I notice that after 3 tries the service host faults. Is this a normal behavior? Where does the 3 times comes from? I thought it came from receiveRetryCount. But I set that one to 1. I got 20 messages in my…
pdiddy
  • 6,217
  • 10
  • 50
  • 111
1
vote
2 answers

Queue showing empty

So this is pretty new to me and I'm making progress. I currently have a wcf service using netmsmqbinding to send a simple message to a queue. Everything runs smooth and the event view even says that the message was put in the queue. Although when…
user892381
1
vote
0 answers

Unable to remove "Busy" message when exporting a large file from an outside application from a C#.net DLL

I am getting a "Busy" message box that says the following: "This action cannot be completed because the "CATIA - Product - [testfile.CATPart]" program is not responding." Choose from "Switch To..." "Retry" or "Cancel." Problem: I need to find a…
Nicholas Pisca
  • 150
  • 1
  • 10
1
vote
1 answer

Messages not being added to my MSMQ

I am trying to run a MSMQ service for the 1st time. I have copied an example from MSDN and I am trying to get it to work. Everything runs OK and there are no errors. Yet when I go to inspect my MSMQ there are no message available/added. I have…
Andrew Simpson
  • 6,883
  • 11
  • 79
  • 179
1
vote
2 answers

MSMQ - can I query messages which are currently being processed?

I'm using WCF with MSMQ endpoints and am seeing the behaviour described in this question - basically although the service is throttled to process one message at a time, 2 messages are taken from the queue, with one seemingly held in memory while the…
Pete S
  • 265
  • 2
  • 11
1
vote
0 answers

MSMQ WCF retry message blocks

we've using MSMQ for transactional processing of messages sent to an in-house service bus running on Windows Server 2012 and have run into issues when message processing has failed. Setup of the service Service
Andy Duff
  • 11
  • 2
1
vote
0 answers

Distributed Transaction Coordinator - The underlying provider failed on Open

I have application A and application B, both on the same server. Application A is calling WCF service, located in application B using netmsmqbinding and a private queue. B's service method, which is called, is using entity framework to make a call…
1
vote
1 answer

How To Get MSMQ over HTTP to work NOT on the 'Default Web Site'

It's in the title really.... I've got MSMQ receiving messages via HTTP on the DEFAULT web site. which is just assigned an IP Address. I need to be able to push messages into the queue with a specific url (that won't be blocked by proxy etc. in…
adudley
  • 902
  • 10
  • 24
1
vote
1 answer

deserializing messages from msmq send via netmsmq binding

We have wcf service and on error we send messages to "poison" queue using netmsmq binding rather than using System.Messaging's Send Method(). We tried fetching those message out of that poison queue but when deserializing i got a lot of junk data…
Miral
  • 5,968
  • 16
  • 57
  • 85
1
vote
0 answers

Closing of WCF service (ServiceHost) not as graceful as it seems

When I call serviceHost.Close(), even if I put a timeout value serviceHost.Close(TimeSpan.FromMinutes(10)), while it stops receiving messages, it seems one or two of my messages gets lost from time to time. I want my service to stop in the middle of…
MilkTea027
  • 301
  • 1
  • 5
  • 24
1
vote
1 answer

How can I dynamically set the TransactionTimeout for a WCF service?

I have a requirement to be able to dynamically set the transaction timeout for a WCF service running over MSMQ. I am following the example on MSDN:…
Michael Collins
  • 289
  • 2
  • 13
1
vote
2 answers

Does MSMQ get corrupted?

I just started with a company which has a home grown cloud solution. They have built their central queuing mechanism around SQL Server. When talking to the technical director, he tells me that they have tried MSMQs in the past, but ran into issues…
Phillip Scott Givens
  • 5,256
  • 4
  • 32
  • 54
1
vote
0 answers

Activate non default site with NetMsmqActivator

Is it possible to have the NetMsmqActivator service activate a site that is running on another port than 80? As far as I know you can't specify a port number on a net.msmq URI so I can't think of any way that the NetMsmqActivator would be able to…
RobinHu
  • 374
  • 2
  • 14
1
vote
0 answers

WCF and MSMQ - Transforming message body loses complex parameter

I am trying to send a message via WCF and MSMQ and apply a transformation to the message content before it is sent. I can capture the message in the BeforeSendRequest event of a Client Message Inspector, grab the message as xml and apply an Xslt…
Brann
  • 11
  • 1
1
vote
2 answers

Calling WCF with netMsmqBinding inside TransactionScope stopping transaction

I have a WCF logging service that runs operates over MSMQ. Items are logged to a Sql Server 2005 database. Every functions correctly if used outside a TransactionScope. When used inside a TransactionScope instance the call always causes the…
Rob Gray
  • 3,186
  • 4
  • 33
  • 34