Neuron ESB User Network

The Service Bus for the Connected Business

Error: SusbcriberNotFound - "...no eligible subscribers to receive the message... "

NeuronESB v3.5.4.1100

I have a Publisher that publishes (send) to a topic. I have a Subscriber that subscribes (receive) from that same topic.  The subscriber has nothing except the topics (receive) and the business process (on receive).  The Business Process is thoroughly tested and solid.

Attached to the Subscriber is a Business Process that

  1. gets the message
  2. makes a C# http client RESTful call
  3. receives an XML response
  4. sends the xml to a stored procedure for inserting data into a database

It works fine when:

  1. I use the TEST Clients to test the entire Pub/Sub it works fine.
  2. I use the adapter to receive the message and publish it and use a single TEST client to receive the message

It FAILS when

  • I do not use any test clients. 
  • This is a business process that consumes the message and nothing else. 
  • The Subscriber with a Business Process is supposed to complete the entire process.

How do I get this to work without using the Test Client?

The Goal is to receive a message and run a Process inside of Neuron.

I have tried variations of a final step in the business process to be a

  • CANCEL -- failed
  • TRACE -- failed
  • <nothing> -- failed

It only fails when there is not a TEST Client connected to the Subscriber.

Here is the error message:

Failure Details

Type: SuscriberNotFound

Message: The client MyPublisher (a3a1de01-fc68-4b68-bb94-a3ddb7ab0f44) published Message a820f5d7-805e-4963-beee-06f3389b728a to topic 'MyTopic' but there were no eligible subscribers to receive the message.

Tags: Failure

Views: 457

Replies are closed for this discussion.

Replies to This Discussion

Jeffery,

 A subscriber cannot receive a message (and therefore cannot execute a process), until an instance of that subscriber has been created.  There are four ways to create an instance of a subscriber:

1. Adapter Endpoint

2. Service Endpoint (service connector)

3. Workflow Endpoint

4. Connect with the Client API in your own .NET application

The Test Client is an implementation of the Client API, which is why your process is executed when you have a test client connected as your subscriber.

Your choices are:

1. Configure your publisher to execute the process instead of the subscriber

2. Use on of the methods above to have an instance of a subscriber

3. Use a workflow instead of a process for this logic

That solved the issue.

Thank you for such a prompt and effective reply!

Jeffery

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service