spring-integration / org.springframework.integration.dsl / KotlinIntegrationFlowDefinition / gateway

gateway

fun gateway(requestChannel: String, endpointConfigurer: GatewayEndpointSpec.() -> Unit = {}): Unit
fun gateway(requestChannel: MessageChannel, endpointConfigurer: GatewayEndpointSpec.() -> Unit = {}): Unit

Populate the "artificial" org.springframework.integration.gateway.GatewayMessageHandler for the provided requestChannel to send a request with options from GatewayEndpointSpec. Uses org.springframework.integration.gateway.RequestReplyExchanger Proxy on the background.

fun gateway(flow: KotlinIntegrationFlowDefinition.() -> Unit): Unit
fun gateway(endpointConfigurer: GatewayEndpointSpec.() -> Unit, flow: KotlinIntegrationFlowDefinition.() -> Unit): Unit

Populate the "artificial" org.springframework.integration.gateway.GatewayMessageHandler for the provided subflow with options from GatewayEndpointSpec.