Listening

In the listening inbounds endpoints, we configure the specific port in which the server will be waiting for the incoming request. By default, we can use different protocols such as HTTP, HTTPS, HL7, CXF, WebSocket, and Secure WebSocket.

For a basic configuration of the inbound endpoint, we need to configure the following:

  • Endpoint Name: Unique identity of the inbound endpoint
  • Type: Protocol for listen
  • Sequence: Sequence that will be processed on an incoming request
  • inbound.http.port*: Port that will be open dynamically for the listen request

For example, we can define an HTTP inbound endpoint named HttpInboundEndpoint, which listens to the port 8765 and triggers the main sequence, as follows:

Dynamically, the Enterprise Integrator ...

Get WSO2 Developer’s Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.