transform

inline fun <P> transform(crossinline function: (P) -> Any)

Inline function for IntegrationFlowDefinition.transform providing a transform<MyTypeIn, MyTypeOut>() variant with reified generic type.


fun transform(transformer: Transformer)

Populate the Transformer EI Pattern specific MessageHandler implementation for the provided Transformer instance.

Since

6.2


fun transform(expression: String)

Populate the Transformer EI Pattern specific MessageHandler implementation for the SpEL Expression.

Since

6.2


fun transform(service: Any, methodName: String? = null)

Populate the MessageTransformingHandler for the MethodInvokingTransformer to invoke the service method at runtime.


fun transform(messageProcessorSpec: MessageProcessorSpec<*>)

Populate the MessageTransformingHandler instance for the org.springframework.integration.handler.MessageProcessor from provided MessageProcessorSpec.

Since

6.2


inline fun <P> transform(crossinline function: (P) -> Any, crossinline configurer: GenericEndpointSpec<MessageTransformingHandler>.() -> Unit)

Deprecated

since 6.2

Replace with


				transformWith { 
					transformer<Type> { }
					id("value")
				}

Inline function for IntegrationFlowDefinition.transform providing a transform<MyTypeIn>() variant with reified generic type.


fun transform(transformer: Transformer, endpointConfigurer: GenericEndpointSpec<MessageTransformingHandler>.() -> Unit = {})

Deprecated

since 6.2

Replace with


				transformWith { 
					transformer(transformer)
					id("value")
				}

Populate the Transformer EI Pattern specific MessageHandler implementation for the provided Transformer instance.

Since

5.3.1


fun transform(expression: String, endpointConfigurer: GenericEndpointSpec<MessageTransformingHandler>.() -> Unit = {})

Deprecated

since 6.2

Replace with


				transformWith { 
					expression("value")
					id("value")
				}

Populate the Transformer EI Pattern specific MessageHandler implementation for the SpEL Expression.


fun transform(service: Any, methodName: String?, endpointConfigurer: GenericEndpointSpec<MessageTransformingHandler>.() -> Unit)

Deprecated

since 6.2

Replace with


				transformWith { 
					ref("value")
					method("value")
					id("value")
				}

Populate the MessageTransformingHandler for the MethodInvokingTransformer to invoke the service method at runtime.


fun transform(messageProcessorSpec: MessageProcessorSpec<*>, endpointConfigurer: GenericEndpointSpec<MessageTransformingHandler>.() -> Unit = {})

Deprecated

since 6.2

Replace with


				transformWith { 
					processor("value")
					id("value")
				}

Populate the MessageTransformingHandler instance for the org.springframework.integration.handler.MessageProcessor from provided MessageProcessorSpec. In addition, accept options for the integration endpoint using GenericEndpointSpec.