@Test public void testToString() throws JMSException { JmsPoolConnection connection = (JmsPoolConnection) cf.createQueueConnection(); QueueSession session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); Queue queue = session.createTemporaryQueue(); QueueReceiver receiver = session.createReceiver(queue); assertNotNull(receiver.toString()); }
@Override public String toString() { return getClass().getSimpleName() + " { " + getDelegate() + " }"; }
JmsPoolQueueReceiver extends JmsPoolMessageConsumer implements QueueReceiver, AutoCloseable { @Override public String toString() { return getClass().getSimpleName() + " { " + getDelegate() + " }"; } }
JmsPoolQueueReceiver extends JmsPoolMessageConsumer implements QueueReceiver, AutoCloseable { @Override public String toString() { return getClass().getSimpleName() + " { " + getDelegate() + " }"; } JmsPoolQueueReceiver(JmsPoolSession session, QueueReceiver delegate); }
JmsPoolQueueReceiver extends JmsPoolMessageConsumer implements QueueReceiver, AutoCloseable { @Override public String toString() { return getClass().getSimpleName() + " { " + getDelegate() + " }"; } JmsPoolQueueReceiver(JmsPoolSession session, QueueReceiver delegate); @Override Queue getQueue(); @Override String toString(); QueueReceiver getQueueReceiver(); }
JmsPoolQueueReceiver extends JmsPoolMessageConsumer implements QueueReceiver, AutoCloseable { @Override public String toString() { return getClass().getSimpleName() + " { " + getDelegate() + " }"; } JmsPoolQueueReceiver(JmsPoolSession session, QueueReceiver delegate); @Override Queue getQueue(); @Override String toString(); QueueReceiver getQueueReceiver();  }