@Override public ConnectionConsumer createConnectionConsumer(Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException { checkTopicConnection(); ConnectionConsumer cc = ((TopicConnection) delegate) .createConnectionConsumer(topic, messageSelector, sessionPool, maxMessages); return TracingConnectionConsumer.create(cc, jmsTracing); }
@Override public ConnectionConsumer createConnectionConsumer(final Topic topic, final String messageSelector, final ServerSessionPool sessionPool, final int maxMessages) throws JMSException { return TopicConnection.class.cast(this.con).createConnectionConsumer(topic, messageSelector, sessionPool, maxMessages); }
@Override public ConnectionConsumer createConnectionConsumer( Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages ) throws JMSException { return addConnectionConsumer(topicConnection.createConnectionConsumer(topic, messageSelector, sessionPool, maxMessages)); } }
@Override public ConnectionConsumer createConnectionConsumer( Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages ) throws JMSException { return addConnectionConsumer( ((TopicConnection) connection).createConnectionConsumer(topic, messageSelector, sessionPool, maxMessages)); } }