@Retention(value=RUNTIME) @Documented @Target(value=TYPE) public @interface UriEndpoint
Modifier and Type | Required Element and Description |
---|---|
String |
scheme
Represents the URI scheme name of this endpoint.
|
String |
syntax
Represent the URI syntax the endpoint must use.
|
String |
title
A human readable title of this entity, such as the component name of the this endpoint.
|
Modifier and Type | Optional Element and Description |
---|---|
Class<?> |
consumerClass
Represents the consumer class which is injected and created by consumers
|
boolean |
consumerOnly
Whether this endpoint can only be used as a consumer.
|
String |
consumerPrefix
The configuration parameter name prefix used on parameter names to separate the endpoint
properties from the consumer properties
|
String |
label
To associate this endpoint with label(s).
|
boolean |
producerOnly
Whether this endpoint can only be used as a producer.
|
public abstract String scheme
public abstract String syntax
UriPath
option.
The query parameters is implied and should not be included in the syntax.
Some examples:
public abstract String title
public abstract Class<?> consumerClass
public abstract String consumerPrefix
public abstract String label
public abstract boolean producerOnly
public abstract boolean consumerOnly
Apache Camel