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
10
votes
5 answers

MSMQ wcf activation issue with .net 4.0 and server 2008

I have .net 4.0 application ported from net 3.5 that uses net.msmq running on server 2008 x64 Setup net.msmq Service with address "net.msmq://localhost/private/msmqdataservice.svc" net.msmq endpoing with address…
mamu
  • 12,184
  • 19
  • 69
  • 92
9
votes
5 answers

Why are my queued WCF messages silently disappearing?

I have a transactional MSMQ queue setup on server THOR. I am able to post messages to that queue from a workstation with the following code: var queue = new MessageQueue("FormatName:Direct=OS:thor\\private\\myqueue"); using (var tx = new…
AgileJon
  • 53,070
  • 5
  • 41
  • 38
8
votes
1 answer

MSMQ binding mismatch

We have a setup that used to work and has stopped sometime over the past few months. We use a custom dead-letter queue that is specified in config but basically gets set like this:: MsmqIntegrationBinding msmq = new MsmqIntegrationBinding( //…
zimdanen
  • 5,508
  • 7
  • 44
  • 89
4
votes
1 answer

MSMQ to WCF, enabling Two Way Communication

We are building a common WCF Service which is being used by two different types of clients, ones which will use the normal Two way http binding, while the other ones will use the MSMQ binding, as the MSMQ Binding means that we can only do One Way…
asifch
  • 312
  • 4
  • 15
4
votes
4 answers

How to check if public MSMQ is empty

Is there any way to check if a public MSMQ is empty? For a private MSMQ it's easy: private bool IsQueueEmpty(string path) { bool isQueueEmpty = false; var myQueue = new MessageQueue(path); try …
Justin
  • 17,670
  • 38
  • 132
  • 201
4
votes
0 answers

WCF MSMQ - SRMP on a different port

I have an application that pushes messages to a WCF endpoint via an MSMQ. In dev, it works well when using the MSMQ protocol, but in production I need to do a network hop. I need to set this up so the queue pushes to the WCF endpoint over HTTP on a…
Ev.
  • 7,109
  • 14
  • 53
  • 87
4
votes
1 answer

Alternative to MSMQ for use in Windows Store Applications

I recently discovered that NetMsmqBinding is not supported in Windows Store Apps, are there any alternative ways to implement a similar system of queuing messages to a host machine from a tablet? Thank you!
MJ33
  • 859
  • 12
  • 25
4
votes
1 answer

WCF with MSMQ DTC - closing NHibernate sessions

I have a WCF MSMQ service (hosted in a windows service). My method has the TransactionScopeRequired attribute on it. I am using Nhibernate to save my data to my database. I want to make sure I close each Nhibernate session after each call. I was…
jonho
  • 1,680
  • 2
  • 19
  • 29
3
votes
1 answer

Failing to get MSMQ WCF Window Service to function

I'm trying to create a MSMQ WCF service, although I'm having troubles running the code. It fails when trying to create an instance of the service. I have MSMQ installed, and can confirm there is a private created called 'servicemodelsamples' When…
wonea
  • 4,783
  • 17
  • 86
  • 139
3
votes
1 answer

Proper place for initialization code in non-HTTP WCF service hosted in IIS/WAS?

It is my understanding that a WCF service configured for net.msmq will not run as an HttpApplication when hosted in IIS/WAS, which means you don't get the events in Global (Application_Start being the important one). Am I correct in this…
sliderhouserules
  • 3,415
  • 24
  • 32
3
votes
1 answer

MsmqException (0xC00E0051) after 60 seconds

I am using the netMsmqBinding with a transactional queue, and although the WCF service is called without problems, the service is throwing a MsmqException just 60 seconds after the message is processed. This is the…
Jorge Fioranelli
  • 449
  • 5
  • 12
3
votes
1 answer

Log Buffering Through MSMQ to WCF Web Service

I have an interesting situation on my hands. For a few years now we've had a WCF service that runs on an IIS box on our network that we use for logging. Applications use basicHttpBinding to send log messages and it logs them to a database. Most of…
omatase
  • 1,551
  • 1
  • 18
  • 42
3
votes
2 answers

Why can't my netmsmqbinding can't do twoway binding?

I'm using WCF and netmsmqbinding and I am getting the following error message: Contract requires TwoWay (either request-reply or duplex), but Binding 'NetMsmqBinding' doesn't support it or isn't configured properly to support it. Why? My…
Don
  • 31
  • 1
  • 2
3
votes
2 answers

WCF - MSMQ endpoint not found in new environment

The setup I have a WCF service hosted in IIS/AppFabric running on Windows Server 2012R2. The service is bound to a local transactional MSMQ queue via netMsmqBinding. My operations are decorated with TransactionScopeRequired = true. The service…
Guran
  • 414
  • 2
  • 8
3
votes
1 answer

MSMQ private queue size limit

I am trying to put messages in a private queue defined on my local computer, but the queue size cannot exceed 8 MB. I am getting an exception every time after that size is reached. The size for the specific queue is set at 10 GB. I am running…
DaeMoohn
  • 1,087
  • 13
  • 27
1
2 3 4 5 6