> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Target

> Configuration reference for `TargetDescription` and `AnonymousTargetDescription`, Java objects that define the target store and tuple publisher factory for use in a Channel.

<Note>
  A Target cannot be defined via configuration properties but can be referenced by name.
</Note>

### Java configuration

`TargetDescription` or `AnonymousTargetDescription` Java object can be used for configuration in Java. The Object is used in the configuration of a [Channel](/configuration/channel).

Additionally,
a `TargetDescription` Spring Bean can be resolved in configuration properties of a channel by name under `target` as
well as used in Java by name using the `NamedEntityResolverService`.

##### TargetDescription

| Parameter             | Required | Type                     | Description                                                      |
| --------------------- | :------: | ------------------------ | ---------------------------------------------------------------- |
| name                  |     Y    | `String`                 | Name of the Target.                                              |
| targetStore           |     Y    | `String`                 | Name of the target store.                                        |
| tuplePublisherFactory |     Y    | `ITuplePublisherFactory` | Function which accepts DlcScope and produces an ITuplePublisher. |

##### AnonymousTargetDescription

| Parameter             | Required | Type                     | Description                                                      |
| --------------------- | :------: | ------------------------ | ---------------------------------------------------------------- |
| targetStore           |     Y    | `String`                 | Name of the target store.                                        |
| tuplePublisherFactory |     Y    | `ITuplePublisherFactory` | Function which accepts DlcScope and produces an ITuplePublisher. |
