publish wallet txn message
public function publishwallettxnAction()
{
$connection = $this->getMQConnection();
$channel = $connection->channel();
$channel->exchange_declare('wallet', 'topic', false, true, false);
$txn = array("wallet_id" => "b6",
"type" => "walletnotify",
"txid" => "8144f6cbc86f76efbdb6cb6dbcdb384dc770d93162c857145d6edbe789f3c1d6",
"currency" => "btc",
"date" => 1412839213);
$msg = $this->getNewMQMessage(true);
$msg->setBody(json_encode($txn));
$channel->basic_publish($msg, "wallet", "tx");
}