Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Conversation

@promag
Copy link

@promag promag commented Oct 24, 2016

Add optional callbacks for Message.finish, Message.requeue and Message.touch.

The image used in CircleCI must be Ubuntu 14.04 to be able to use nsq@0.3.8.

This PR also partially reverts the work done in #70. To fix the test suite we must ensure no reader is left at subscribe state before the tests end, otherwise the next test can fail because nsqd can deliver the message to the other reader.

@promag promag force-pushed the feature/add-message-callbacks branch from 9d61fc5 to c0a5089 Compare October 24, 2016 14:43
@promag
Copy link
Author

promag commented Nov 4, 2016

@calvinfo Care to take a look?

@jcrugzz
Copy link
Contributor

jcrugzz commented Jan 3, 2017

@thehydroimpulse any issues with this? Seems reasonable.

@thehydroimpulse
Copy link
Contributor

sorry for the delay here @promag @jcrugzz. I'll take a look at this and merge it in.

@promag promag force-pushed the feature/add-message-callbacks branch from c0a5089 to 49d452b Compare January 9, 2017 18:44
@promag
Copy link
Author

promag commented Jan 9, 2017

@thehydroimpulse ping.

conn.on('ready', function(){
conn.end();
conn.publish(topic, 'stuff');
conn.publish('test', 'stuff');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'test' should be a variable

var utils = require('../utils');

beforeEach(function(done){
utils.deleteTopic('test', done);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@doron2402
Copy link

Are you guys planing on merging this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants