test_class.file: pooled-jms/src/test/java/org/messaginghub/pooled/jms/JmsPoolQueueReceiverTest.java
test_class.identifier: JmsPoolQueueReceiverTest
test_class.superclass: extends JmsPoolTestSupport
test_case.body: @Test
      public void testGetTopicSubscriber() throws JMSException {
          JmsPoolConnection connection = (JmsPoolConnection) cf.createQueueConnection();
          QueueSession session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
          Queue queue = session.createTemporaryQueue();
          JmsPoolQueueReceiver receiver = (JmsPoolQueueReceiver) session.createReceiver(queue);
  
          assertNotNull(receiver.getQueueReceiver());
          assertTrue(receiver.getQueueReceiver() instanceof MockJMSQueueReceiver);
  
          receiver.close();
  
          try {
              receiver.getQueueReceiver();
              fail("Cannot read state on closed receiver");
          } catch (IllegalStateException ise) {}
      }
test_case.class_method_signature: JmsPoolQueueReceiverTest.testGetTopicSubscriber()
test_case.full_signature: @Test public void testGetTopicSubscriber()
test_case.identifier: testGetTopicSubscriber
test_case.invocations: createQueueConnection createQueueSession createTemporaryQueue createReceiver assertNotNull getQueueReceiver assertTrue getQueueReceiver close getQueueReceiver fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetTopicSubscriber()
focal_class.file: pooled-jms/src/main/java/org/messaginghub/pooled/jms/JmsPoolQueueReceiver.java
focal_class.identifier: JmsPoolQueueReceiver
focal_class.interfaces: implements QueueReceiver, AutoCloseable
focal_class.class_method_signature: JmsPoolQueueReceiver.JmsPoolQueueReceiver(JmsPoolSession session, QueueReceiver delegate)
focal_class.full_signature: public  JmsPoolQueueReceiver(JmsPoolSession session, QueueReceiver delegate)
focal_class.identifier: JmsPoolQueueReceiver
focal_class.modifiers: public
focal_class.parameters: (JmsPoolSession session, QueueReceiver delegate)
focal_class.signature:  JmsPoolQueueReceiver(JmsPoolSession session, QueueReceiver delegate)
focal_class.class_method_signature: JmsPoolQueueReceiver.getQueue()
focal_class.full_signature: @Override public Queue getQueue()
focal_class.identifier: getQueue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Queue
focal_class.signature: Queue getQueue()
focal_class.class_method_signature: JmsPoolQueueReceiver.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: JmsPoolQueueReceiver.getQueueReceiver()
focal_class.full_signature: public QueueReceiver getQueueReceiver()
focal_class.identifier: getQueueReceiver
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: QueueReceiver
focal_class.signature: QueueReceiver getQueueReceiver()
focal_class.superclass: extends JmsPoolMessageConsumer
focal_method.body: public QueueReceiver getQueueReceiver() throws JMSException {
          return (QueueReceiver) super.getMessageConsumer();
      }
focal_method.class_method_signature: JmsPoolQueueReceiver.getQueueReceiver()
focal_method.full_signature: public QueueReceiver getQueueReceiver()
focal_method.identifier: getQueueReceiver
focal_method.invocations: getMessageConsumer
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: QueueReceiver
focal_method.signature: QueueReceiver getQueueReceiver()