# Clone Mediator

The clone mediator closely resembles the Message Splitter EIP and will split the message into number of identical messages which will be processed in parallel. They can also be set to process sequentially using the optional 'sequential' attribute.

### Adding a clone mediator

Go to Advanced and click Clone as depicted in Figure 1.

Figure 1: Adding a clone mediator

### Configuring clone mediator options

Clicking on the clone mediator created as shown in Figure 1 will open up the clone mediator specific options. Figure 2 shows clone mediator options.

Figure 2: Clone mediator options

### Clone mediator field descriptions

- Clone ID - This can be used to identify messages created by this clone mediator. This is particularly useful when aggregating responses of messages that are created using nested iterate mediators.
- Sequential Mediation - If "Yes" created messages will be processed sequentially, otherwise they will be processed in parallel.
- Continue Parent - If "Yes" the original message will be continued. If "No" the original message will be dropped.
- Number of clones - Number of clones created. This can be controlled by adding one or more clone targets by clicking Add Clone Target. Figure 3 shows the screen after clicking Add Clone Target. Targets can then have it's own set of mediators.

Figure 3: Adding a clone target