java.lang.IllegalStateException

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

Solutions on the web25422

  • via MuleSoft JIRA by Gilles Gosuin, 1 year ago
    There are at least 2 connectors matching protocol "tcp", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
  • via MuleSoft JIRA by Gilles Gosuin, 1 year ago
    There are at least 2 connectors matching protocol "tcp", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
  • via Google Groups by francisco sanchez, 1 week ago
    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
  • Stack trace

    • java.lang.IllegalStateException: There are at least 2 connectors matching protocol "tcp", so the connector to use must be specified on the endpoint using the 'connector' property/attribute at org.mule.transport.service.TransportFactory.getConnectorByProtocol(TransportFactory.java:168) at org.mule.endpoint.AbstractEndpointBuilder.getConnector(AbstractEndpointBuilder.java:552) at org.mule.endpoint.AbstractEndpointBuilder.getDefaultConnector(AbstractEndpointBuilder.java:275) at org.mule.endpoint.AbstractEndpointBuilder.getConnector(AbstractEndpointBuilder.java:270) at org.mule.endpoint.AbstractEndpointBuilder.doBuildOutboundEndpoint(AbstractEndpointBuilder.java:188) at org.mule.endpoint.AbstractEndpointBuilder.buildOutboundEndpoint(AbstractEndpointBuilder.java:95) at org.mule.endpoint.DefaultEndpointFactory.getOutboundEndpoint(DefaultEndpointFactory.java:86) at org.mule.endpoint.DefaultEndpointFactory.getOutboundEndpoint(DefaultEndpointFactory.java:62) at org.mule.routing.outbound.AbstractRecipientList.getRecipientEndpointFromString(AbstractRecipientList.java:184) at org.mule.routing.outbound.AbstractRecipientList.getRecipientEndpoint(AbstractRecipientList.java:143) at org.mule.routing.outbound.AbstractRecipientList.route(AbstractRecipientList.java:87) at org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:64) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45) at org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:69) at org.mule.service.AbstractService.dispatchToOutboundRouter(AbstractService.java:883) at org.mule.model.seda.SedaService.dispatchToOutboundRouter(SedaService.java:514) at org.mule.model.seda.SedaService$ComponentStageWorker.run(SedaService.java:537) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.