if (! (topic instanceof AbstractTopic))
throw new InvalidDestinationException(L.l("'{0}' is an unknown destination. The destination must be a Resin JMS Destination.",
topic));
AbstractTopic topicImpl = (AbstractTopic) topic;
if (_connection.getDurableSubscriber(name) != null) {
// jms/2130
// unsubscribe(name);
/*
throw new JMSException(L.l("'{0}' is already an active durable subscriber",
name));
*/
}
AbstractQueue queue = topicImpl.createSubscriber(this, name, noLocal);
TopicSubscriberImpl consumer;
consumer = new TopicSubscriberImpl(this, topicImpl, queue,
messageSelector, noLocal);