Lone Developer
Lone Developer

Reputation: 616

Difference Between Endpoint and Connector in Mule

What is the difference between Endpoint And Connectors in Mule . For example , there is http endpoint and there is http connector . Are these terms used interchangeably ?

Upvotes: 0

Views: 1684

Answers (3)

Phil
Phil

Reputation: 344

Endpoints are a type of connector. Connectors in Mule are either endpoint-based or operation-based. Endpoint-based connectors follow either a one-way or request-response exchange pattern and are often (but not always) named and based around a standard data communication protocol, such as FTP, JMS, and SMTP. Operation-based connectors follow an information exchange pattern based on the operation that you select and are often (but not always) named and based around one or more specific third-party APIs.

Upvotes: 1

jai
jai

Reputation: 21897

Connectors:

  • provide abstract layer over data transport mechanisms
  • Mule specific
  • provide connections to external resources(Protocols, DB, 3rd party
    API)
  • Are Operation-based or Endpoint-based.

Endpoints:

  • Flow level elements
  • Represents specific usage of a Connector
  • When you drag a Connector from palette into canvas, an Endpoint is created
  • Any Connector can function as an Endpoint.

Upvotes: 1

Related Questions