@Metadata(label="configuration") public class RouteConfigurationDefinition extends OptionalIdentifiedDefinition<RouteConfigurationDefinition>
Constructor and Description |
---|
RouteConfigurationDefinition() |
description, description, getCustomId, getDescription, getDescriptionText, getId, getParent, hasCustomIdAssigned, id, idOrCreate, setCustomId, setDescription, setGeneratedId, setId
public String getShortName()
public String getLabel()
public List<OnExceptionDefinition> getOnExceptions()
public void setOnExceptions(List<OnExceptionDefinition> onExceptions)
public List<OnCompletionDefinition> getOnCompletions()
public void setOnCompletions(List<OnCompletionDefinition> onCompletions)
public List<InterceptDefinition> getIntercepts()
public void setIntercepts(List<InterceptDefinition> intercepts)
public List<InterceptFromDefinition> getInterceptFroms()
public void setInterceptFroms(List<InterceptFromDefinition> interceptFroms)
public List<InterceptSendToEndpointDefinition> getInterceptSendTos()
public void setInterceptSendTos(List<InterceptSendToEndpointDefinition> interceptSendTos)
public OnExceptionDefinition onException(Class<? extends Throwable> exceptionType)
exceptionType
- the exception to catchpublic OnExceptionDefinition onException(Class<? extends Throwable>... exceptions)
exceptions
- list of exceptions to catchpublic OnCompletionDefinition onCompletion()
Exchange
is complete.public InterceptDefinition intercept()
public InterceptFromDefinition interceptFrom()
public InterceptFromDefinition interceptFrom(String uri)
uri
- endpoint uripublic InterceptSendToEndpointDefinition interceptSendToEndpoint(String uri)
uri
- endpoint uriApache Camel