クラス SplitterSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<SplitterSpec, reactor.util.function.Tuple2<ConsumerEndpointFactoryBean, AbstractMessageSplitter>>
org.springframework.integration.dsl.EndpointSpec<SplitterSpec, ConsumerEndpointFactoryBean, AbstractMessageSplitter>
org.springframework.integration.dsl.ConsumerEndpointSpec<SplitterSpec, AbstractMessageSplitter>
org.springframework.integration.dsl.SplitterSpec
- 実装されているすべてのインターフェース:
DisposableBean、FactoryBean<reactor.util.function.Tuple2<ConsumerEndpointFactoryBean, AbstractMessageSplitter>>、InitializingBean、Lifecycle、Phased、SmartLifecycle、ComponentsRegistration
- 導入:
- 6.2
- 作成者:
- Artem Bilan
フィールドのサマリー
クラス org.springframework.integration.dsl.ConsumerEndpointSpec から継承されたフィールド
adviceChainクラス org.springframework.integration.dsl.EndpointSpec から継承されたフィールド
componentsToRegister, endpointFactoryBean, handlerクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明applySequence(boolean applySequence) applySequence フラグを指定された値に設定します。delimiters(StringSE delimiters) 文字列値をトークン化するために区切り文字を設定します。discardChannel(StringSE discardChannelName) 拒否されたメッセージを送信するチャネル Bean 名を指定します。discardChannel(MessageChannel discardChannel) 拒否されたメッセージを送信するチャネルを指定します。discardFlow(IntegrationFlow discardFlow) discardChannel(MessageChannel)の代わりに破棄されたメッセージに対して実行するようにサブフローを構成します。reactor.util.function.Tuple2<ConsumerEndpointFactoryBean, AbstractMessageSplitter> doGet()expectedType(ClassSE<?> expectedType) FunctionSE 入力引数の型を設定します。expression(StringSE expression) ターゲットハンドラーにExpressionEvaluatingSplitterを使用する式を指定します。expression(Expression expression) ターゲットハンドラーにExpressionEvaluatingSplitterを使用する式を指定します。<P> SplitterSpecfunction(FunctionSE<P, ?> function) FunctionSE をMethodInvokingSplitterの直接のデリゲートとして指定します。呼び出すサービスメソッド名を指定します。ターゲットハンドラーにMethodInvokingSplitterを使用するサービスを提供します。ターゲットハンドラーにMethodInvokingSplitter(BeanNameMessageProcessorに基づく) を使用するには、Bean 名を指定します。クラス org.springframework.integration.dsl.ConsumerEndpointSpec から継承されたメソッド
advice, async, autoStartup, customizeMonoReply, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, reactive, reactive, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactionalクラス org.springframework.integration.dsl.EndpointSpec から継承されたメソッド
getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, pollerクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingletonインターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
SplitterSpec
protected SplitterSpec()
メソッドの詳細
delimiters
文字列値をトークン化するために区切り文字を設定します。デフォルトはnullで、トークン化が発生しないことを示します。区切り文字が指定されている場合、すべての文字列ペイロードに適用されます。splitterがDefaultMessageSplitterのインスタンスである場合にのみ適用されます。- パラメーター:
delimiters- 区切り文字。- 戻り値:
- エンドポイント仕様。
- 関連事項:
expression
ターゲットハンドラーにExpressionEvaluatingSplitterを使用する式を指定します。- パラメーター:
expression- 使用する SpEL 式。- 戻り値:
- スペック
expression
ターゲットハンドラーにExpressionEvaluatingSplitterを使用する式を指定します。- パラメーター:
expression- 使用する SpEL 式。- 戻り値:
- スペック
ref
ターゲットハンドラーにMethodInvokingSplitterを使用するサービスを提供します。このオプションは、AbstractMessageSplitter実装、AbstractMessageSplitterを提供するMessageHandlerSpec、またはMessageProcessorSpecに設定できます。- パラメーター:
ref- スプリッタ POJO として呼び出すサービス。- 戻り値:
- スペック
refName
ターゲットハンドラーにMethodInvokingSplitter(BeanNameMessageProcessorに基づく) を使用するには、Bean 名を指定します。- パラメーター:
refName- スプリッタ POJO として呼び出すサービスの Bean 名。- 戻り値:
- スペック
method
呼び出すサービスメソッド名を指定します。オプション。ref(Object)またはrefName(String)とのみ併用してください。- パラメーター:
method- 呼び出すサービスメソッド名。- 戻り値:
- スペック
function
FunctionSE をMethodInvokingSplitterの直接のデリゲートとして指定します。- 型パラメーター:
P- 入力型。- パラメーター:
function- 使用するFunctionSE インスタンス。- 戻り値:
- スペック
expectedType
- パラメーター:
expectedType-FunctionSE 入力引数の型。- 戻り値:
- スペック。
applySequence
applySequence フラグを指定された値に設定します。デフォルトはtrueです。- パラメーター:
applySequence- applySequence。- 戻り値:
- エンドポイント仕様。
- 関連事項:
discardChannel
拒否されたメッセージを送信するチャネルを指定します。破棄チャネルが null(デフォルト)の場合、拒否されたメッセージはドロップされます。「拒否されたメッセージ」は、split 関数が空の結果(null ではない)を返したことを意味します。送信するために繰り返す項目はありません。- パラメーター:
discardChannel- 廃棄チャネル。- 戻り値:
- エンドポイント仕様。
- 関連事項:
discardFlow
discardChannel(MessageChannel)の代わりに破棄されたメッセージに対して実行するようにサブフローを構成します。- パラメーター:
discardFlow- 廃棄フロー。- 戻り値:
- エンドポイント仕様。
discardChannel
拒否されたメッセージを送信するチャネル Bean 名を指定します。破棄チャネルが null(デフォルト)の場合、拒否されたメッセージはドロップされます。「拒否されたメッセージ」は、split 関数が空の結果(null ではない)を返したことを意味します。送信するために繰り返す項目はありません。- パラメーター:
discardChannelName- 廃棄チャネル Bean 名。- 戻り値:
- エンドポイント仕様。
- 関連事項:
doGet
- オーバーライド:
- クラス
ConsumerEndpointSpec<SplitterSpec, AbstractMessageSplitter>のdoGet