else if (consumerState.getDestination().isQueue())
{
queueName = consumerState.getDestination().getName();
}
MessageCallbackHandler messageHandler =
new MessageCallbackHandler(isCC, sessionState.getAcknowledgeMode(),
sessionDelegate, consumerDelegate, consumerID, queueName,
prefetchSize, sessionExecutor, maxDeliveries);
sessionState.addCallbackHandler(messageHandler);