query.getMessageSelector(),
query.isNoLocal());
// Start prefetching if we are receiving from a queue
if (query.getDestination() instanceof Queue)
consumer.prefetchMore();
CreateConsumerResponse response = new CreateConsumerResponse();
response.setPrefetchSize(consumer.getPrefetchSize());
return response;