Class ActiveMQQueueReceiver

    • Constructor Detail

      • ActiveMQQueueReceiver

        protected ActiveMQQueueReceiver​(ActiveMQSession theSession,
                                        ConsumerId consumerId,
                                        ActiveMQDestination destination,
                                        String selector,
                                        int prefetch,
                                        int maximumPendingMessageCount,
                                        boolean asyncDispatch)
                                 throws JMSException
        Parameters:
        theSession -
        consumerId -
        destination -
        selector -
        prefetch -
        maximumPendingMessageCount -
        asyncDispatch -
        Throws:
        JMSException
    • Method Detail

      • getQueue

        public Queue getQueue()
                       throws JMSException
        Gets the Queue associated with this queue receiver.
        Specified by:
        getQueue in interface QueueReceiver
        Returns:
        this receiver's Queue
        Throws:
        JMSException - if the JMS provider fails to get the queue for this queue receiver due to some internal error.