ClientSubscription cs = null;
if (subName != null) {
cs = (ClientSubscription) subsTable.get(subName);
}
if (cs != null) {
GetSubscriptionRep reply = new GetSubscriptionRep(cs.getTopicId().toString(),
cs.getPendingMessageCount(), cs.getDurable());
replyToTopic(reply, replyTo, requestMsgId, replyMsgId);
} else {
replyToTopic(new org.objectweb.joram.shared.admin.AdminReply(false, "Subscription not found: "
+ request.getSubscriptionName()), replyTo, requestMsgId, replyMsgId);