KotlinTransformerEndpointSpec

Constructors

Link copied to clipboard
constructor(delegate: TransformerEndpointSpec)

Properties

Link copied to clipboard

the TransformerEndpointSpec this instance is delegating to.

Functions

Link copied to clipboard
fun advice(vararg advice: Advice?)
Link copied to clipboard
fun autoStartup(autoStartup: Boolean)
Link copied to clipboard
fun <T, V> customizeMonoReply(replyCustomizer: (Message<*>, Mono<T>) -> Publisher<V>)
Link copied to clipboard
fun expression(expression: String)
fun expression(expression: Expression)

Provide an expression to use an ExpressionEvaluatingTransformer for the target handler.

Link copied to clipboard
fun handleMessageAdvice(vararg interceptors: MethodInterceptor?)
Link copied to clipboard
fun id(id: String?)
Link copied to clipboard
fun method(method: String?)

Provide a service method name to call. Optional. Use only together with .ref or .refName.

Link copied to clipboard
fun phase(phase: Int)
Link copied to clipboard
fun poller(pollers: (PollerFactory) -> PollerSpec)
fun poller(pollerMetadataSpec: PollerSpec)
fun poller(pollerMetadata: PollerMetadata)
Link copied to clipboard
fun processor(processor: MessageProcessorSpec<*>)

Provide a MessageProcessorSpec as a factory for MethodInvokingTransformer delegate.

Link copied to clipboard
fun reactive()
fun reactive(reactiveCustomizer: (Flux<Message<*>>) -> Publisher<Message<*>>)
Link copied to clipboard
fun ref(ref: Any)

Provide a service to use a MethodInvokingTransformer for the target handler.

Link copied to clipboard
fun refName(refName: String)

Provide a bean name to use a MethodInvokingTransformer (based on BeanNameMessageProcessor) for the target handler.

Link copied to clipboard
fun role(role: String)
Link copied to clipboard
fun taskScheduler(taskScheduler: TaskScheduler)
Link copied to clipboard
fun transactional(handleMessageAdvice: Boolean)
fun transactional(transactionManager: TransactionManager)
fun transactional(transactionInterceptor: TransactionInterceptor)
fun transactional(transactionManager: TransactionManager, handleMessageAdvice: Boolean)
Link copied to clipboard
inline fun <P> transformer(crossinline function: (P) -> Any)

Provide a Kotlin function as a direct delegate for MessageTransformingHandler.

fun <P, T> transformer(transformer: GenericTransformer<P, T>)

Provide a GenericTransformer as a direct delegate for MessageTransformingHandler.