java.lang.IllegalStateException: There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoint using the 'connector' property/attribute

mulesoft.org | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [MULE-3142] Multiple Connectors complain about specifying explicit connector on endpoint - JIRA

    mulesoft.org | 4 months ago
    java.lang.IllegalStateException: There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoint using the 'connector' property/attribute

    Root Cause Analysis

    1. java.lang.IllegalStateException

      There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoint using the 'connector' property/attribute

      at org.mule.providers.service.TransportFactory.getConnectorByProtocol()
    2. org.mule.providers
      TransportFactory.createEndpoint
      1. org.mule.providers.service.TransportFactory.getConnectorByProtocol(TransportFactory.java:443)
      2. org.mule.providers.service.TransportFactory.createEndpoint(TransportFactory.java:101)
      2 frames
    3. org.mule.impl
      ImmutableMuleEndpoint.<init>
      1. org.mule.impl.ImmutableMuleEndpoint.createEndpointFromUri(ImmutableMuleEndpoint.java:598)
      2. org.mule.impl.ImmutableMuleEndpoint.getOrCreateEndpointForUri(ImmutableMuleEndpoint.java:663)
      3. org.mule.impl.ImmutableMuleEndpoint.<init>(ImmutableMuleEndpoint.java:234)
      3 frames