public interface EndpointConfiguration
Endpoint
configuration as a pojo that can be manipulated and validated.
Camel endpoint configuration is strongly related to URIs.Modifier and Type | Interface and Description |
---|---|
static class |
EndpointConfiguration.UriFormat
DataFormat operations. |
Modifier and Type | Field and Description |
---|---|
static String |
URI_AUTHORITY |
static String |
URI_FRAGMENT |
static String |
URI_HOST |
static String |
URI_PATH |
static String |
URI_PORT |
static String |
URI_QUERY |
static String |
URI_SCHEME |
static String |
URI_SCHEME_SPECIFIC_PART |
static String |
URI_USER_INFO |
Modifier and Type | Method and Description |
---|---|
<T> T |
getParameter(String name)
Gets the value of a particular parameter.
|
URI |
getURI()
Returns the URI configuration of an
Endpoint . |
<T> void |
setParameter(String name,
T value)
Sets the value of a particular parameter.
|
String |
toUriString(EndpointConfiguration.UriFormat format)
Returns the formatted configuration string of an
Endpoint . |
static final String URI_SCHEME
static final String URI_SCHEME_SPECIFIC_PART
static final String URI_AUTHORITY
static final String URI_USER_INFO
static final String URI_HOST
static final String URI_PORT
static final String URI_PATH
static final String URI_QUERY
static final String URI_FRAGMENT
<T> T getParameter(String name) throws RuntimeCamelException
name
- the parameter nameRuntimeCamelException
- is thrown if error getting the parameter<T> void setParameter(String name, T value) throws RuntimeCamelException
name
- the parameter namevalue
- the parameter valueRuntimeCamelException
- is thrown if error setting the parameterString toUriString(EndpointConfiguration.UriFormat format)
Endpoint
.format
- the formatApache Camel