code: private void createListener(final JsMessagingEngine messagingEngine)
              throws ResourceException {
  
          final String methodName = "createListener";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName, messagingEngine);
          }
  
          final SibRaMessagingEngineConnection connection = getConnection(messagingEngine);
          createListener(connection);
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName);
          }
  
      }
docs: Creates a listener to the configured destination on the given messaging
  engine.
  
  @param messagingEngine
  the messaging engine
  @throws ResourceException
  if the creation of the listener fails