LibraryLink ToToggle FramesPrintFeedback

Introduction to Sender Endpoints

The function of a sender endpoint is to write data, in the form of files, to a location on a file system. You can control the location of the files written to the file system and have some control over the name of the generated files. You can also control if data is appended to existing files or if new copies of a file are created.

By default, sender endpoints write XML data to the file system. You can change this behavior by configuring the endpoint to use a custom marshaler.

Sender endpoints play the role of provider from the vantage point of the other endpoints in the ESB. As shown in Figure 3.1, a sender endpoint receives messages from the NMR and writes the message data to the file system.

Sender endpoints are configured using the sender element. All its configuration can be specified using attributes of this element.

Configuring a sender endpoint to use custom marshalers require the addition of other elements. These can either be separate bean elements or child elements of the sender element.