Neuron ESB User Network

The Service Bus for the Connected Business

We often get people saying they are losing messages with using the MSMQ topic...

When we investigate, they aren't. But, some things are happening that can confuse.

The number one offender for message "loss" is using two instances of the same Party Id . This is easy to do with Adapters and Connectors and Queued Topics.

The net effect of that is the message will always be delivered to one Party..It's a non mulitcasting queue under there so that makes sense..But, it can be very disconcerting when it happens because there are no errors! You've just unintentionally set up pseudo round robin processing...

The other one is more difficult to troubleshoot. If you look on the Networking tab for an Msmq Topic you see settings for Max Retry Cycles, Receive Retry Count and Retry Cycle delay. What these control are the corresponding WCF settings. Those settings by default make use of poison and retry queues.

Many times people who think they've lost a message will not have checked the retry or poison queues. I personally prefer moving to poison immediately on failure most of the time by setting retry to zero and switching Receive Error Handling from Fault to Move so that any error gets moved out of the way and put onto the poison queue.

Regardless of the choices you decide upon remember to check these queues before panicking and make sure never to choose Drop unless you really mean it!

Views: 210

Comment

You need to be a member of Neuron ESB User Network to add comments!

Join Neuron ESB User Network

Neuron ESB Product Support Forums and Communities

Latest Activity

Miroslav Jelev posted a discussion

Using unsupported OAuth provider

Is it possible to create a custom OAuth provider?  Specifically, we are working with Cisco (https://cloudsso.cisco.com/as/token.oauth2).We have a requirement to integrate with a Cisco soap server which uses OAuth2 for authentication. We are using a Service Connector to send a message to the SOAP service, but we need to write custom code in a business process to authenticate with their Cisco OAuth provider. We saw that Neuron supports…See More
Jul 29
Profile Iconchris comer, Fahd EL YOUBI, Vishal Misal and 2 more joined Neuron ESB User Network
May 16
Alixx Skevington posted a discussion

Docker Windows 2019 - Neuron 3.5

Hi, We are using 3.5 for our application and I am trying to containerise it for our integration tests.  Building and deploying VM's as this is very time consuming to build and deploy.So I have decided that I to go down docker; everything in our stack has migrated nicely except Neuron.  The first issue was that I needed a later version of the 2016 image or 2019 image from MS which I have. I have managed to install MSMQ on it as well. But when I try to run a silent install everything runs.  But…See More
Apr 15

Badge

Loading…

© 2019   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service