Communication

Last updated 21 days ago

Communication ports define how to enable communications with other microservices. There are two kinds of ports:

  • input ports

  • output ports

Input ports deal with exposing input operations to other microservices. Output ports define how to invoke the operations of other microservices. Ports allow Jolie programmers to combine communication media (sockets, localsockets, bluetooth) and data formats (http, https, soap), which is the concrete binding information between the communicating microservices.

In addition to the concrete binding, Jolie ports include interfaces to express data type information for each operation supported by a given port.