kdcllc / CometD.NetCore.Salesforce

CometD Salesforce Implementation.
MIT License
45 stars 24 forks source link

Not receiving new custom messages from Salesforce after a handshake has taken place #16

Closed Fredrikos closed 4 years ago

Fredrikos commented 4 years ago

Network connection loss prevents receipt of new messages.

When a network connection is lost, the expected behavior is that the client will reestablish the connection with Salesforce and run the method added to client.reconnect.

The actual behavior is that when a network connection has been lost the client reconnects with Salesforce and performs a successful handshake, but does not run the method added client.reconnect.

To resolve the issue about reconnect event not being invoked, please see pull request https://github.com/kdcllc/CometD.NetCore.Salesforce/pull/13 for a possible solution.

Edit: Added clarity