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, only sequence will be executed and endpoint will be ignored.

Syntax

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

*Note : Due to the limitation of the target implementation it allows to specify either sequenceRef Or endpointRef or the sequence (inline) or endpoint (inline) at once no multiple elements can be represent at once

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.

Note : If both Sequence and Endpoint defined, only sequence will be invoked and endpoint will be ignored.

Example

Please go to the specific mediators for examples.