Neuron ESB User Network

The Service Bus for the Connected Business

Suggestion on how to suppress "SubscriberNotFound" exceptions

We are publishing message to a Topic (multicast) that has a subscriber that is conditional - therefore, it will only purposely pickup certain messages. The issue is that for messages that do not meet the condition criteria there is no subscriber and a SubscriberNotFound exception is logged along with putting the message in the Failure table.

We've created a dummy subscriber to handle these other messages with a dummy business process with a single Cancel step, but also needed to bind it with a dummy endpoint so it will run. So a lot of dummy stubs. 

Only other alternative I see is to be put conditions within the Publish business process to not publish to the bus, but seems to me to defeat the purpose of having conditional subscribers (plus it's a lot cleaner for us to have the conditions on the subscriber than in a publisher bus process - especially since in the future we may create subscribers for the other conditions)

Is there a better suggestion to do this?

thanks.

Marc

Views: 116

Reply to This

Replies to This Discussion

Hi Marc,

the topic (tcp or named pipe) has a property "Log no recipient" set by default to true "Log a warning when there are no recipients for a message"

I think this could make the trick, I don't think we are currently using it, but I remember playing with it, you should try if it works

Fabrizio

Thanks Fabrizio.

That did indeed suppress the "Warning" of no eligible subscriber, but unfortunately the "Error" is still reported, with the message logged into the Failed Messages table.

Marc

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019
Suman vadde is now a member of Neuron ESB User Network
Dec 16, 2019
Morten Andreasen is now a member of Neuron ESB User Network
Dec 9, 2019
Profile IconCarl Porch, Cordier, Lahbib Marouan and 4 more joined Neuron ESB User Network
Nov 18, 2019
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, 2019
Profile Iconchris comer, Fahd EL YOUBI, Vishal Misal and 2 more joined Neuron ESB User Network
May 16, 2019
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, 2019

Badge

Loading…

© 2020   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service