© Copyright IBM Corp. 2007, 2008 143
Endpoints and their handlers facilitate the routing of outbound messages from
the outbound Java Message Service (JMS) queue to its destination. Endpoints also
route outbound data from an invocation channel directly to its destination. The
endpoint and handler combination contains the protocol client and the necessary
data to identify the specifics of communications with the destination, such as a
URL.
The outbound queue cron task process or invocation channel invokes the handler
and passes the message body and the metadata properties to it. The handler uses
the metadata properties to determine the external system (for a publish channel
message only) and override values for the configured endpoint properties. The
handler then sends the data to the destination that is specified by the endpoint
with which the handler is associated.
Endpoints and Handlers
10