クラス IntegrationFlowExtension<B extends IntegrationFlowExtension<B>>
java.lang.ObjectSE
org.springframework.integration.dsl.BaseIntegrationFlowDefinition<B>
org.springframework.integration.dsl.IntegrationFlowDefinition<B>
org.springframework.integration.dsl.IntegrationFlowExtension<B>
- 型パラメーター:
B
-IntegrationFlowDefinition
実装型。
public abstract class IntegrationFlowExtension<B extends IntegrationFlowExtension<B>>
extends IntegrationFlowDefinition<B>
カスタム JavaDSL オペレーターおよび再利用可能なソリューション用の
IntegrationFlowDefinition
拡張。メソッドフローチェーンをサポートするには、このクラスの実装は、新しいメソッドから拡張クラスを返す必要があります。例:
public class MyIntegrationFlowDefinition
extends IntegrationFlowExtension<MyIntegrationFlowDefinition> {
public MyIntegrationFlowDefinition upperCaseAfterSplit() {
return split()
.transform("payload.toUpperCase()");
}
}
このようにして、ターゲット構成で自然な DSL 定義として使用されます。
@Bean
public IntegrationFlow myFlowDefinition() {
return
new MyIntegrationFlowDefinition()
.log()
.upperCaseAfterSplit()
.aggregate()
.get();
}
この IntegrationFlowExtension
は、既存の演算子を IntegrationComponentSpec
拡張機能の拡張機能でオーバーライドするためにも使用できます。ターゲットコンポーネント構成の新しいオプションを追加します。- 導入:
- 5.3
- 作成者:
- Artem Bilan
ネストされたクラスの要約
クラス org.springframework.integration.dsl.BaseIntegrationFlowDefinition から継承されたネストクラス / インターフェース
BaseIntegrationFlowDefinition.ReplyProducerCleaner
フィールドのサマリー
クラス org.springframework.integration.dsl.BaseIntegrationFlowDefinition から継承されたフィールド
integrationComponents, PARSER
コンストラクターの概要
コンストラクターメソッドのサマリー
クラス org.springframework.integration.dsl.IntegrationFlowDefinition から継承されたメソッド
filter, filter, handle, handle, route, route, transform
クラス org.springframework.integration.dsl.BaseIntegrationFlowDefinition から継承されたメソッド
_this, addComponent, addComponent, addComponents, aggregate, aggregate, aggregate, barrier, barrier, bridge, bridge, channel, channel, channel, channel, checkReuse, claimCheckIn, claimCheckIn, claimCheckOut, claimCheckOut, claimCheckOut, controlBus, controlBus, controlBusOnRegistry, controlBusOnRegistry, convert, convert, currentComponent, currentInterceptableChannel, currentMessageChannel, delay, delay, enrich, enrichHeaders, enrichHeaders, enrichHeaders, enrichHeaders, enrichHeaders, extractProxyTarget, filter, filter, filter, filter, filter, filter, filter, filter, filter, fixedSubscriberChannel, fixedSubscriberChannel, fluxTransform, gateway, gateway, gateway, gateway, gateway, gateway, getCurrentComponent, getCurrentMessageChannel, getIntegrationComponents, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handleReactive, handleReactive, handleReactive, handleReactive, headerFilter, headerFilter, headerFilter, intercept, isImplicitChannel, isOutputChannelRequired, log, log, log, log, log, log, log, log, log, log, log, log, log, nullChannel, obtainInputChannelFromFlow, publishSubscribeChannel, publishSubscribeChannel, publishSubscribeChannel, register, registerOutputChannelIfCan, resequence, resequence, route, route, route, route, route, route, route, route, route, route, route, route, route, route, routeByException, routeToRecipients, scatterGather, scatterGather, scatterGather, scatterGather, scatterGather, scatterGather, setImplicitChannel, split, split, split, split, split, split, split, split, split, splitWith, to, toReactivePublisher, toReactivePublisher, transform, transform, transform, transform, transform, transform, transformWith, trigger, trigger, trigger, trigger, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap
コンストラクターの詳細
IntegrationFlowExtension
protected IntegrationFlowExtension()
メソッドの詳細
get
- オーバーライド:
- クラス
BaseIntegrationFlowDefinition<B extends IntegrationFlowExtension<B>>
のget