Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error management #327

Open
BUONJG opened this issue May 24, 2017 · 1 comment
Open

Error management #327

BUONJG opened this issue May 24, 2017 · 1 comment

Comments

@BUONJG
Copy link

BUONJG commented May 24, 2017

Hello,

Could you please tell us how we can handles errors:

  • Opening the connection: new AMQPClient(...).connect(...);
  • On accepting, rejecting, releasing messages

We tried to connect to an invalid amqp, the connect method never return neither throw an exception

When we remove network connection, accept, reject and release return but never throw exception neither

Thank you by advance.

@mbroadst
Copy link
Collaborator

@BUONJG there are examples in the usage section, and for the client itself you can listen to client:errorReceived which is sort of all oddly named for legacy reasons, until we can update it for a major version increment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants