*/
public TransientQueueSubscription addConsumer(Filter filter,ConsumerInfo info, BrokerClient client) throws JMSException {
synchronized (subscriptionMutex) {
TransientQueueSubscription ts = findMatch(info);
if (ts == null) {
MemoryBoundedQueue queue = queueManager
.getMemoryBoundedQueue("TRANSIENT_QUEUE_SUB:-"
+ info.getConsumerId());
MemoryBoundedQueue ackQueue = queueManager
.getMemoryBoundedQueue("TRANSIENT_QUEUE_SUB_ACKED:-"
+ info.getConsumerId());
ts = new TransientQueueSubscription(client, queue, ackQueue,
filter, info);