added broker name and queue name to table passed from magic to agie_srv. fixed misc bugs.