Commit 68d7fb0b authored by project's avatar project

--no commit message

--no commit message
parent 6571ec48
var ctx = require('../context');
var JW = function JobWorker (cfg)
{
}
var ctx = require('../context');
var cfg = ctx.config;
var QueueReceiver = ctx.getLib('lib/amqp/queuereceiver');
module.exports.create = function(prm)
{
var jw = new JW(prm);
return jw;
}
var JW = function JobWorker (prm)
{
var param = prm || {};
this.config = param.config || cfg;
this.instance_name = param.name;
}
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