AMQChannel channel = protocolSession.getChannel(channelId);
if (channel == null)
{
throw new AMQException(AMQConstant.NOT_FOUND, "channel :" + channelId + " not found in protocol session");
}
ClientDeliveryMethod clientMethod = channel.getClientDeliveryMethod();
RecordDeliveryMethod recordMethod = channel.getRecordDeliveryMethod();
return createSubscription(channel, protocolSession, consumerTag, acks, filters,
noLocal,