return (false);
}
public static ConnectionUID getConnectionUID(ConsumerUID cid) {
Consumer con = Consumer.getConsumer(cid);
ConnectionUID cxnId = null;
if (isDurable(cid)) {
if (!isDurableActive(cid)) {
/*
* Return null if this is an inactive durable
*/
return (null);
}
}
/*
if (con instanceof Subscription) {
List l = ((Subscription)con).getChildConsumers();
Consumer c = (Consumer)l.get(0);
System.err.println("Consumer from child list: " + c);
cid = c.getConnectionUID();
} else {
cid = con.getConnectionUID();
}
*/
if (con != null) {
cxnId = con.getConnectionUID();
}
return (cxnId);
}