Interface EndpointProducerResolver


public interface EndpointProducerResolver
Implemented by objects that can be resolved to a producer-facing Endpoint.

The DSL and annotation processor call resolve(CamelContext) to obtain a concrete Endpoint when an object used in a to() clause is not itself an endpoint URI string. This allows richer types (for example, enum constants or wrapper objects) to be used as route destinations without requiring string parsing.

Since:
3.1
See Also: