code: @Override
      public void setMessageListener(MessageListener listener) throws JMSRuntimeException {
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "setMessageListener", new Object[] { listener });
  
          try {
              messageConsumer.setMessageListener(listener);
          } catch (JMSException jmse) {
              throw (JMSRuntimeException) JmsErrorUtils.getJMS2Exception(jmse, JMSRuntimeException.class);
          } finally {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                  SibTr.exit(this, tc, "setMessageListener");
          }
  
      }
docs: /*
  (non-Javadoc)
  
  @see javax.jms.JMSConsumer#setMessageListener(javax.jms.MessageListener)