unsubscribed = true;
}
}
}else {
ChannelImpl ch = (ChannelImpl)getTomcatBayeux().getChannel(subscription,true);
ch.unsubscribe(client);
unsubscribed = true;
}
response.put(Bayeux.SUCCESSFUL_FIELD, Boolean.valueOf(unsubscribed));
response.put(Bayeux.SUBSCRIPTION_FIELD,subscription);
((HashMap) response.get(Bayeux.ADVICE_FIELD)).put("reconnect", "retry");