add _queueName function

This commit is contained in:
Evan Prodromou 2009-07-03 10:05:07 -04:00
parent 00074cda73
commit 3e4be98ff6

View File

@ -165,6 +165,11 @@ class StompQueueManager
unset($this->_frames[$k]); unset($this->_frames[$k]);
} }
function _queueName($queue)
{
return common_config('queue', 'queue_basename') . $queue;
}
function _log($level, $msg) function _log($level, $msg)
{ {
common_log($level, 'StompQueueManager: '.$msg); common_log($level, 'StompQueueManager: '.$msg);