About Inbound Endpoints

An inbound endpoint is a message entry point that can inject messages directly from the transport layer to the mediation layer without going through the Axis2 engine. One of the advantages of using Inbound Endpoints is in its ability to create inbound messaging channels dynamically. There are three types of inbound endpoints:

Listening Inbound Endpoints

A listening inbound endpoint listens on a given port for requests that are coming in. When a request is available, it is injected to a given sequence. Listening inbound endpoints support two-way operations and are synchronous.

Polling Inbound Endpoints

A polling inbound endpoint polls periodically for data and, when data is available, the data is injected to a given sequence. For example, the JMS inbound endpoint checks the JMS queue periodically for messages and, when a message is available, that message is injected to a specified sequence. Polling inbound endpoints support one way operations and are asynchronous.

Event-based Inbound Endpoints

An event-based inbound endpoint polls only once to establish a connection with the remote server and then consumes events.

Top