Class R2dbcMessageHandlerSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
 
org.springframework.integration.dsl.MessageHandlerSpec<S,ReactiveMessageHandlerAdapter>
 
org.springframework.integration.dsl.ReactiveMessageHandlerSpec<R2dbcMessageHandlerSpec,R2dbcMessageHandler>
 
org.springframework.integration.r2dbc.dsl.R2dbcMessageHandlerSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<ReactiveMessageHandlerAdapter>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
public class R2dbcMessageHandlerSpec
extends ReactiveMessageHandlerSpec<R2dbcMessageHandlerSpec,R2dbcMessageHandler> 
The 
ReactiveMessageHandlerSpec for the R2dbcMessageHandler.- Since:
- 5.4
- Author:
- Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.ReactiveMessageHandlerSpecreactiveMessageHandlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedR2dbcMessageHandlerSpec(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations) 
- 
Method SummaryModifier and TypeMethodDescriptionSet a SpEL expression to evaluate aCriteriafor query to execute.criteria(Function<Message<P>, org.springframework.data.relational.core.query.Criteria> criteriaFunction) Set aFunctionto evaluate aCriteriafor query to execute.criteria(Expression criteriaExpression) Set a SpEL expression to evaluate aCriteriafor query to execute.Set aR2dbcMessageHandler.Typefor query to execute.queryTypeExpression(String queryTypeExpression) Set a SpEL expression to evaluate aR2dbcMessageHandler.Typefor query to execute.queryTypeExpression(Expression queryTypeExpression) Set a SpEL expression to evaluate aR2dbcMessageHandler.Typefor query to execute.queryTypeFunction(Function<Message<P>, R2dbcMessageHandler.Type> queryTypeFunction) Set aFunctionto evaluate aR2dbcMessageHandler.Typefor query to execute against a request message.Specify a table in the target database to execute the query.tableNameExpression(String tableNameExpression) Set a SpEL expression to evaluate a table name at runtime against request message.tableNameExpression(Expression tableNameExpression) Set a SpEL expression to evaluate a table name at runtime against request message.tableNameFunction(Function<Message<P>, String> tableNameFunction) Set aFunctionto evaluate a table name at runtime against request message.Set a SpEL expression to evaluate aMapfor name-value pairs to bind as parameters into a query.values(Expression valuesExpression) Set a SpEL expression to evaluate aMapfor name-value pairs to bind as parameters into a query.Methods inherited from class org.springframework.integration.dsl.ReactiveMessageHandlerSpecgetComponentsToRegisterMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
R2dbcMessageHandlerSpecprotected R2dbcMessageHandlerSpec(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations) 
 
- 
- 
Method Details- 
queryTypeSet aR2dbcMessageHandler.Typefor query to execute.- Parameters:
- type- the- R2dbcMessageHandler.Typeto use.
- Returns:
- the spec
 
- 
queryTypeFunctionpublic <P> R2dbcMessageHandlerSpec queryTypeFunction(Function<Message<P>, R2dbcMessageHandler.Type> queryTypeFunction) Set aFunctionto evaluate aR2dbcMessageHandler.Typefor query to execute against a request message.- Type Parameters:
- P- the payload type.
- Parameters:
- queryTypeFunction- the function to use.
- Returns:
- the spec
 
- 
queryTypeExpressionSet a SpEL expression to evaluate aR2dbcMessageHandler.Typefor query to execute.- Parameters:
- queryTypeExpression- the expression to use.
- Returns:
- the spec
 
- 
queryTypeExpressionSet a SpEL expression to evaluate aR2dbcMessageHandler.Typefor query to execute.- Parameters:
- queryTypeExpression- the expression to use.
- Returns:
- the spec
 
- 
tableNameSpecify a table in the target database to execute the query.- Parameters:
- tableName- the name of the table to use.
- Returns:
- the spec
 
- 
tableNameFunctionSet aFunctionto evaluate a table name at runtime against request message.- Type Parameters:
- P- the payload type.
- Parameters:
- tableNameFunction- the function to use.
- Returns:
- the spec
 
- 
tableNameExpressionSet a SpEL expression to evaluate a table name at runtime against request message.- Parameters:
- tableNameExpression- the expression to use.
- Returns:
- the spec
 
- 
tableNameExpressionSet a SpEL expression to evaluate a table name at runtime against request message.- Parameters:
- tableNameExpression- the expression to use.
- Returns:
- the spec
 
- 
values- Type Parameters:
- P- the payload type.
- Parameters:
- valuesFunction- the function to use.
- Returns:
- the spec
 
- 
valuesSet a SpEL expression to evaluate aMapfor name-value pairs to bind as parameters into a query.- Parameters:
- valuesExpression- the expression to use.
- Returns:
- the spec
 
- 
valuesSet a SpEL expression to evaluate aMapfor name-value pairs to bind as parameters into a query.- Parameters:
- valuesExpression- the expression to use.
- Returns:
- the spec
 
- 
criteriapublic <P> R2dbcMessageHandlerSpec criteria(Function<Message<P>, org.springframework.data.relational.core.query.Criteria> criteriaFunction) Set aFunctionto evaluate aCriteriafor query to execute.- Type Parameters:
- P- the payload type.
- Parameters:
- criteriaFunction- the function to use.
- Returns:
- the spec
 
- 
criteriaSet a SpEL expression to evaluate aCriteriafor query to execute.- Parameters:
- criteriaExpression- the expression to use.
- Returns:
- the spec
 
- 
criteriaSet a SpEL expression to evaluate aCriteriafor query to execute.- Parameters:
- criteriaExpression- the expression to use.
- Returns:
- the spec
 
 
-