Commit 21b60db9 authored by project's avatar project

--no commit message

--no commit message
parent 88b0e602
{
"type" : "rabbitmq",
"url" : "amqp://bigmaster.igridproject.info"
"url" : "amqp://lab1.igridproject.info"
}
module.exports.create = function(data)
{
var tpy = "object";
return new BSData(data,tpy);
}
function BSData(data,type)
{
this.type = type;
this.data = data;
}
......@@ -4,7 +4,7 @@ var amqp_cfg = ctx.config.amqp;
var rpcserver = ctx.getLib('lib/amqp/rpcserver');
var server = new rpcserver({
url : "amqp://bigmaster.igridproject.info",
url : amqp_cfg.url,
});
server.set_remote_function(function(req,callback){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment