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

Check if queue exists before sending the message #45

Closed
mrister opened this issue Jul 19, 2016 · 0 comments
Closed

Check if queue exists before sending the message #45

mrister opened this issue Jul 19, 2016 · 0 comments
Assignees

Comments

@mrister
Copy link
Contributor

mrister commented Jul 19, 2016

New Feature

On producer, check if a queue exists before sending the message and reject produce function if it does not not.

Currently:

 producer.produce('non existent queue',  { msg: Date.now() }, {rpc:true}).then(...)

Waits indefinitely or resolves immediately in case rpc: false for a queue that does not exists.

Acceptance

Check if the queue exists before sending the message and if not, reject the produce function with an appropriate error denoting that the queue does not exist.

@mrister mrister self-assigned this Jul 19, 2016
mrister added a commit that referenced this issue Jul 19, 2016
…n producer. Closes  #45

Add tests to verify in case rcp:true and rcp: false
mrister added a commit that referenced this issue Jul 19, 2016
…n producer. Closes  #45

Add tests to verify in case rcp:true and rcp: false
mrister added a commit that referenced this issue Jul 19, 2016
…n producer. Closes  #45

Add tests to verify in case rcp:true and rcp: false
mrister added a commit that referenced this issue Jul 19, 2016
…n producer. Closes  #45

Add tests to verify in case rcp:true and rcp: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant