views:

51

answers:

0

I'm working on a code that requires to send Nanite requests to actors. Was it possible to publish requests from another amqp client? I'm using http://github.com/ry/node-amqp

So basically I wanted to publish nanite commands from a NodeJS app, Here's some code:

connection.addListener('ready', function () {
  puts("connected to " + connection.serverProperties.product);

  connection.publish('/some_nanite_actor/test', { 'message' : 'testing' });


  setTimeout(function () {
     // wait one second to receive the message, then quit
     connection.end();
  }, 1000);

});

However - nanite can't seem to see those requests? They're in the same vhosts, user/password details.

Appreciate if someone has a solution for this!

Thanks