AMQP using Node.js, How Can I publish/subscribe?

I'm not sure what the error you're encountering is, but I will point out a few things.

I'm not sure what the error you're encountering is, but I will point out a few things: In your constructor, when you write @receivedObject and @queue—that doesn't do anything. In JavaScript, every object is a hash, and you can attach properties at any time; if @receivedObject and @queue are initially undefined in a Queue instance, then you don't have to define them in the constructor. Is it possible that the problem is that you're calling @connection.

Queue in addTaskToQueue before the connection exists (that is, before the self.connection. On 'ready' callback)? Perhaps if you changed your code to queue = new Queue() queue.connection.

On 'ready', -> queue. AddTaskToQueue 'salut', 5 queue. SubscribeTaskQueue 'salut' If that doesn't solve your problem, could you please describe the precise error you're encountering and where you're encountering it?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions