@Test(timeout = 30000) public void testToString() throws JMSException { JMSConsumer consumer = context.createConsumer(context.createTemporaryQueue()); assertNotNull(consumer.toString()); }
@Override public String toString() { return getClass().getSimpleName() + " { " + consumer + " }"; }
JmsPoolJMSConsumer implements JMSConsumer, AutoCloseable { @Override public String toString() { return getClass().getSimpleName() + " { " + consumer + " }"; } }
JmsPoolJMSConsumer implements JMSConsumer, AutoCloseable { @Override public String toString() { return getClass().getSimpleName() + " { " + consumer + " }"; } JmsPoolJMSConsumer(JmsPoolMessageConsumer consumer); }
JmsPoolJMSConsumer implements JMSConsumer, AutoCloseable { @Override public String toString() { return getClass().getSimpleName() + " { " + consumer + " }"; } JmsPoolJMSConsumer(JmsPoolMessageConsumer consumer); @Override void close(); @Override MessageListener getMessageListener(); @Override String getMessageSelector(); @Override void setMessageListener(MessageListener listener); @Override Message receive(); @Override Message receive(long timeout); @Override Message receiveNoWait(); @Override T receiveBody(Class<T> desired); @Override T receiveBody(Class<T> desired, long timeout); @Override T receiveBodyNoWait(Class<T> desired); @Override String toString(); }
JmsPoolJMSConsumer implements JMSConsumer, AutoCloseable { @Override public String toString() { return getClass().getSimpleName() + " { " + consumer + " }"; } JmsPoolJMSConsumer(JmsPoolMessageConsumer consumer); @Override void close(); @Override MessageListener getMessageListener(); @Override String getMessageSelector(); @Override void setMessageListener(MessageListener listener); @Override Message receive(); @Override Message receive(long timeout); @Override Message receiveNoWait(); @Override T receiveBody(Class<T> desired); @Override T receiveBody(Class<T> desired, long timeout); @Override T receiveBodyNoWait(Class<T> desired); @Override String toString();  }