class TracingMessageListener implements MessageListener {

  static MessageListener create(MessageListener delegate, JmsTracing jmsTracing) {
    if (delegate == null) return null;
    if (delegate instanceof TracingMessageListener) return delegate;
    return new TracingMessageListener(delegate, jmsTracing, true);
  }

    TracingMessageListener(MessageListener delegate, JmsTracing jmsTracing, boolean addConsumerSpan);

}