Neuron ESB User Network

The Service Bus for the Connected Business

Hi,

We’re using the ClientApi for a Windows service subscribing to events from a durable topic. We expected the ClientApi library code to handle the connection between client and broker. But unfortunately we observe an unexpected behavior when network connection between client and broker is lost. Right after the connection is reestablished a number of exceptions are written to the console. The exceptions seem to indicate that the connection was manually closed before the AutorecoveringConnection could recover.

 

However, the connection is reestablished and the client continues to receive events on the topic after the reconnect. But if you try to close the client application it hangs during shutdown indicating that the library code is still holding references to some resources.

 

Steps to reproduce (see attached source code):

  1. Create a Subscriber to a topic configured in app.config
  2. Connect the subscriber to the broker.
  3. Disconnect the network cable or disable the network device on the client PC.
  4. Reconnect the network cable or device.
  5. The exceptions below are written to the console.

 

Questions:

Is it intentional that the client API outputs exceptions directly to the console?

Is it intentional that exceptions are thrown during connection recovery?

Is there any other way to use the ClientAPI to prevent getting exceptions from the library?

 

Product: NeuronEsb.ClientApi v 3.5.4 NuGet package

Platform: Windows 7 Professional 64 bit with Visual Studio Professional 2015 Update 3

 

Exceptions dumped in console (plus Console.WriteLine for the OnOffline and OnOnline events) and client attached

 

Thanks

Fabrizio

Tags: clientapi, rabbitmq

Views: 224

Attachments:

Reply to This

Replies to This Discussion

What's the version/build of the client api you are using?  just right click the neuron.esb.dll

Hi Marty,

Neuron.esb.dll is version 3.0.0.0. Client API is taken from NuGet 3.5.4

ok...that's a real problem...

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