|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Fluent | |
---|---|
org.apache.camel.builder | The Camel Domain Specific Language for creating Routes, Predicates, Expressions and Error Handlers. |
org.apache.camel.component.mock | The Mock Component which is used for testing of routing and mediation rules. |
Uses of Fluent in org.apache.camel.builder |
---|
Methods in org.apache.camel.builder with annotations of type Fluent | ||
---|---|---|
InterceptorBuilder |
InterceptorBuilder.add(DelegateProcessor interceptor)
|
|
PolicyBuilder |
PolicyBuilder.add(Policy interceptor)
|
|
ValueBuilder<E> |
ValueBuilder.append(Object value)
Appends the string evaluation of this expression with the given value |
|
ValueBuilder |
BuilderSupport.body()
Returns a predicate and value builder for the inbound body on an exchange |
|
|
BuilderSupport.bodyAs(Class<T> type)
Returns a predicate and value builder for the inbound message body as a specific type |
|
ChoiceBuilder |
FromBuilder.choice()
Creates a choice of one or more predicates with an otherwise clause |
|
Predicate<E> |
ValueBuilder.contains(Object value)
Create a predicate that the left hand expression contains the value of the right hand expression |
|
FromBuilder |
FromBuilder.convertBodyTo(Class type)
Converts the IN message body to the specified type |
|
FromBuilder |
FromBuilder.convertOutBodyTo(Class type)
Converts the OUT message body to the specified type |
|
ValueBuilder<E> |
ValueBuilder.convertTo(Class type)
Converts the current value to the given type using the registered type converters |
|
ValueBuilder<E> |
ValueBuilder.convertToString()
Converts the current value a String using the registered type converters |
|
DeadLetterChannelBuilder |
BuilderSupport.deadLetterChannel()
|
|
DeadLetterChannelBuilder |
BuilderSupport.deadLetterChannel(Endpoint deadLetterEndpoint)
|
|
DeadLetterChannelBuilder |
BuilderSupport.deadLetterChannel(String deadLetterUri)
|
|
Endpoint |
BuilderSupport.endpoint(String uri)
Resolves the given URI to an endpoint |
|
List<Endpoint> |
BuilderSupport.endpoints(Endpoint... endpoints)
Helper method to create a list of Endpoint instances |
|
List<Endpoint> |
BuilderSupport.endpoints(String... uris)
Resolves the list of URIs into a list of Endpoint instances |
|
FromBuilder |
FromBuilder.errorHandler(ErrorHandlerBuilder errorHandlerBuilder)
Installs the given error handler builder |
|
FilterBuilder |
FromBuilder.filter(Predicate predicate)
Creates a predicate which is applied and only if it is true then the exchange is forwarded to the destination |
|
FromBuilder |
RouteBuilder.from(Endpoint endpoint)
|
|
FromBuilder |
RouteBuilder.from(String uri)
|
|
ValueBuilder |
BuilderSupport.header(String name)
Returns a value builder for the given header |
|
IdempotentConsumerBuilder |
FromBuilder.idempotentConsumer(Expression messageIdExpression,
MessageIdRepository messageIdRepository)
Creates an IdempotentConsumer to avoid duplicate messages |
|
FromBuilder |
FromBuilder.inheritErrorHandler(boolean condition)
Configures whether or not the error handler is inherited by every processing node (or just the top most one) |
|
InterceptorBuilder |
FromBuilder.intercept()
|
|
FromBuilder |
FromBuilder.intercept(DelegateProcessor interceptor)
|
|
Predicate<E> |
ValueBuilder.isEqualTo(Object value)
|
|
Predicate<E> |
ValueBuilder.isGreaterThan(Object value)
|
|
Predicate<E> |
ValueBuilder.isGreaterThanOrEqualTo(Object value)
|
|
Predicate<E> |
ValueBuilder.isInstanceOf(Class type)
|
|
Predicate<E> |
ValueBuilder.isLessThan(Object value)
|
|
Predicate<E> |
ValueBuilder.isLessThanOrEqualTo(Object value)
|
|
Predicate<E> |
ValueBuilder.isNotEqualTo(Object value)
|
|
Predicate<E> |
ValueBuilder.isNotNull()
|
|
Predicate<E> |
ValueBuilder.isNull()
|
|
LoggingErrorHandlerBuilder |
BuilderSupport.loggingErrorHandler()
Creates an error handler which just logs errors |
|
LoggingErrorHandlerBuilder |
BuilderSupport.loggingErrorHandler(Log log)
Creates an error handler which just logs errors |
|
LoggingErrorHandlerBuilder |
BuilderSupport.loggingErrorHandler(Log log,
LoggingLevel level)
Creates an error handler which just logs errors |
|
LoggingErrorHandlerBuilder |
BuilderSupport.loggingErrorHandler(String log)
Creates an error handler which just logs errors |
|
Predicate<E> |
ValueBuilder.matchesRegex(String regex)
|
|
NoErrorHandlerBuilder |
BuilderSupport.noErrorHandler()
Creates a disabled error handler for removing the default error handler |
|
FromBuilder |
ChoiceBuilder.otherwise()
|
|
ValueBuilder |
BuilderSupport.outBody()
Returns a predicate and value builder for the outbound body on an exchange |
|
|
BuilderSupport.outBody(Class<T> type)
Returns a predicate and value builder for the outbound message body as a specific type |
|
ProcessorFactory |
FromBuilder.pipeline(Collection<Endpoint> endpoints)
Creates a Pipeline of the list of endpoints so that the message will get processed by each endpoint in turn
and for request/response the output of one endpoint will be the input of the next endpoint |
|
ProcessorFactory |
FromBuilder.pipeline(Endpoint... endpoints)
Creates a Pipeline of the list of endpoints so that the message will get processed by each endpoint in turn
and for request/response the output of one endpoint will be the input of the next endpoint |
|
ProcessorFactory |
FromBuilder.pipeline(String... uris)
Creates a Pipeline of the list of endpoints so that the message will get processed by each endpoint in turn
and for request/response the output of one endpoint will be the input of the next endpoint |
|
PolicyBuilder |
FromBuilder.policies()
|
|
FromBuilder |
FromBuilder.policy(Policy policy)
|
|
ChoiceBuilder |
WhenBuilder.process(Processor processor)
|
|
FromBuilder |
FromBuilder.process(Processor processor)
Adds the custom processor to this destination which could be a final destination, or could be a transformation in a pipeline |
|
RecipientListBuilder |
FromBuilder.recipientList(Expression receipients)
Creates a dynamic Recipient List pattern. |
|
Predicate<E> |
ValueBuilder.regex(String regex)
Creates a predicate which is true if this expression matches the given regular expression |
|
ValueBuilder<E> |
ValueBuilder.regexReplaceAll(String regex,
Expression<E> replacement)
Replaces all occurrencies of the regular expression with the given replacement |
|
ValueBuilder<E> |
ValueBuilder.regexReplaceAll(String regex,
String replacement)
Replaces all occurrencies of the regular expression with the given replacement |
|
ValueBuilder<E> |
ValueBuilder.regexTokenize(String regex)
Tokenizes the string conversion of this expression using the given regular expression |
|
ResequencerBuilder |
FromBuilder.resequencer(Expression<Exchange>... expressions)
A builder for the Resequencer pattern where a list of expressions are evaluated to be able to compare the message exchanges to reorder them. |
|
ResequencerBuilder |
FromBuilder.resequencer(List<Expression<Exchange>> expressions)
A builder for the Resequencer pattern where a list of expressions are evaluated to be able to compare the message exchanges to reorder them. |
|
FromBuilder |
FromBuilder.setBody(Expression expression)
Adds a processor which sets the body on the IN message |
|
FromBuilder |
FromBuilder.setHeader(String name,
Expression expression)
Adds a processor which sets the header on the IN message |
|
FromBuilder |
FromBuilder.setOutBody(Expression expression)
Adds a processor which sets the body on the OUT message |
|
FromBuilder |
FromBuilder.setOutHeader(String name,
Expression expression)
Adds a processor which sets the header on the OUT message |
|
FromBuilder |
FromBuilder.setProperty(String name,
Expression expression)
Adds a processor which sets the exchange property |
|
SplitterBuilder |
FromBuilder.splitter(Expression receipients)
A builder for the Splitter pattern where an expression is evaluated to iterate through each of the parts of a message and then each part is then send to some endpoint. |
|
ValueBuilder |
BuilderSupport.systemProperty(String name)
Returns a value builder for the given system property |
|
ValueBuilder |
BuilderSupport.systemProperty(String name,
String defaultValue)
Returns a value builder for the given system property |
|
FromBuilder |
PolicyBuilder.target()
|
|
FromBuilder |
InterceptorBuilder.target()
|
|
ProcessorFactory |
FromBuilder.to(Collection<Endpoint> endpoints)
Sends the exchange to a list of endpoint using the MulticastProcessor pattern |
|
ProcessorFactory |
FromBuilder.to(Endpoint... endpoints)
Sends the exchange to a list of endpoints using the MulticastProcessor pattern |
|
ChoiceBuilder |
WhenBuilder.to(Endpoint endpoint)
|
|
ProcessorFactory |
FromBuilder.to(Endpoint endpoint)
Sends the exchange to the given endpoint |
|
ProcessorFactory |
FromBuilder.to(String... uris)
Sends the exchange to a list of endpoints using the MulticastProcessor pattern |
|
ChoiceBuilder |
WhenBuilder.to(String uri)
|
|
ProcessorFactory |
FromBuilder.to(String uri)
Sends the exchange to the given endpoint URI |
|
ValueBuilder<E> |
ValueBuilder.tokenize()
|
|
ValueBuilder<E> |
ValueBuilder.tokenize(String token)
|
|
FromBuilder |
FromBuilder.trace()
Trace logs the exchange before it goes to the next processing step using the FromBuilder.DEFAULT_TRACE_CATEGORY logging
category. |
|
FromBuilder |
FromBuilder.trace(String category)
Trace logs the exchange before it goes to the next processing step using the specified logging category. |
|
WhenBuilder |
ChoiceBuilder.when(Predicate predicate)
Adds a predicate which if it is true then the message exchange is sent to the given destination |
Uses of Fluent in org.apache.camel.component.mock |
---|
Methods in org.apache.camel.component.mock with annotations of type Fluent | ||
---|---|---|
AssertionClause.PredicateValueBuilder |
AssertionClause.body()
Returns a predicate and value builder for the inbound body on an exchange |
|
|
AssertionClause.bodyAs(Class<T> type)
Returns a predicate and value builder for the inbound message body as a specific type |
|
ValueBuilder<E> |
AssertionClause.header(String name)
Returns a predicate and value builder for headers on an exchange |
|
AssertionClause.PredicateValueBuilder |
AssertionClause.outBody()
Returns a predicate and value builder for the outbound body on an exchange |
|
|
AssertionClause.outBody(Class<T> type)
Returns a predicate and value builder for the outbound message body as a specific type |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |