@Override public Response messagePull(ConnectionContext context, MessagePull pull) throws Exception { ActiveMQDestination destination = pull.getDestination(); return getRegion(destination).messagePull(context, pull); }
@Override public Response messagePull(ConnectionContext context, MessagePull pull) throws Exception { ActiveMQDestination destination = pull.getDestination(); switch (destination.getDestinationType()) { case ActiveMQDestination.QUEUE_TYPE: return queueRegion.messagePull(context, pull); case ActiveMQDestination.TOPIC_TYPE: return topicRegion.messagePull(context, pull); case ActiveMQDestination.TEMP_QUEUE_TYPE: return tempQueueRegion.messagePull(context, pull); case ActiveMQDestination.TEMP_TOPIC_TYPE: return tempTopicRegion.messagePull(context, pull); default: throw createUnknownDestinationTypeException(destination); } }
@Override public Response messagePull(ConnectionContext context, MessagePull pull) throws Exception { ActiveMQDestination destination = pull.getDestination(); return getRegion(destination).messagePull(context, pull); }
@Override public Response messagePull(ConnectionContext context, MessagePull pull) throws Exception { ActiveMQDestination destination = pull.getDestination(); return getRegion(destination).messagePull(context, pull); }
@Override public Response messagePull(ConnectionContext context, MessagePull pull) throws Exception { ActiveMQDestination destination = pull.getDestination(); return getRegion(destination).messagePull(context, pull); }