Target

Target is a common configuration used across many ESB conofugrations. Some mediators that uses this configuration are Clone, Iterate and Router.

A target specifies a mediation sequence, and endpoint or both. If a sequnce is specified it will be executed. If a endpoint is specified message will be sent to the endpoint. If both sequence and endpoint are specified, first sequence will be executed and then endpoint will be executed.

Syntax

  <target [sequence="string"] [endpoint="string"]>
    <sequence ....../>?
    <endpoint ....../>?
  </target>  

UI Configuration

Here you can prepare a message to send to an endpoint or mediate through some more sequences.

  • SOAP Action: The SOAP action of the message.
  • To Address: Then target endpoint address.
  • Sequence: Mediate the message through a sequence. You can either pick a named sequence from the registry or define an anonymous sequence by adding mediators to the current Target mediator as children.
  • Endpoint: Send the message to an endpoint. Here you can pick a named endpoint from the registry (which you can add in the Endpoint panel that can be accessed from the Manage-> Mediation-> Endpoints menu in the left hand side menu bar.) or keep the endpoint as anonymous.

Example

Please go to the specific mediators for examples.