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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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 Vitaliy Orbidan, 7 months ago
There are at least 2 connectors matching protocol "jms", so the connector to use must be specified on the endpoint using the 'connector' property/attribute. Connectors in your configuration that support "jms" are: tibcoJmsConnector, activeMQJmsConnector,
via MuleSoft JIRA by Roko Kruze, 1 year ago
There are at least 2 connectors matching protocol "https", so the connector to use must be specified on the endpoint using the 'connector' property/attribute. Connectors in your configuration that support "https" are: https1, https2, https3,
via MuleSoft JIRA by Roko Kruze, 1 year ago
There are at least 2 connectors matching protocol "https", so the connector to use must be specified on the endpoint using the 'connector' property/attribute. Connectors in your configuration that support "https" are: https1, https2, https3,
via Google Groups by Unknown author, 7 months ago
There are at least 2 connectors matching protocol "jms", so the connector to use must be specified on the endpoint using the 'connector' property/attribute. Connectors in your configuration that support "jms" are: persistentConnector, nonPersistentConnector,
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 java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.