クラス FilterEndpointSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec <S、reactor.util.function.Tuple2<F、H>>
org.springframework.integration.dsl.EndpointSpec<S,ConsumerEndpointFactoryBean,H>
org.springframework.integration.dsl.ConsumerEndpointSpec<FilterEndpointSpec,MessageFilter>
org.springframework.integration.dsl.FilterEndpointSpec
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,
、MessageFilter>> InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
、ComponentsRegistration
- 導入:
- 5.0
- 作成者:
- 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
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明discardChannel
(StringSE discardChannelName) 拒否されたメッセージを送信するチャネル名を指定します。discardChannel
(MessageChannel discardChannel) 拒否されたメッセージを送信するチャネルを指定します。discardFlow
(IntegrationFlow discardFlow) discardChannel(MessageChannel)
の代わりに破棄されたメッセージに対して実行するようにサブフローを構成します。discardWithinAdvice
(boolean discardWithinAdvice) このフィルターに適用されるリクエストハンドラーのアドバイス内で破棄処理を実行する場合は、"true" に設定します。throwExceptionOnRejection
(boolean throwExceptionOnRejection) デフォルト値はfalse
です。これは、拒否されたメッセージが静かにドロップされるか、使用可能な場合は破棄チャネルに送信されることを意味します。クラス org.springframework.integration.dsl.ConsumerEndpointSpec から継承されたメソッド
advice, async, autoStartup, customizeMonoReply, doGet, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, reactive, reactive, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactional
クラス org.springframework.integration.dsl.EndpointSpec から継承されたメソッド
assertHandler, 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
コンストラクターの詳細
FilterEndpointSpec
メソッドの詳細
throwExceptionOnRejection
デフォルト値はfalse
です。これは、拒否されたメッセージが静かにドロップされるか、使用可能な場合は破棄チャネルに送信されることを意味します。廃棄チャネルが設けられている場合、典型的には、この値はtrue
にはならないだろうが、もしそうなら、まだ適用される(このような場合には、メッセージが廃棄チャネルに送信され、例外がスローされます)。- パラメーター:
throwExceptionOnRejection
- throwExceptionOnRejection。- 戻り値:
- エンドポイント仕様。
- 関連事項:
discardChannel
拒否されたメッセージを送信するチャネルを指定します。破棄チャネルが null(デフォルト)の場合、拒否されたメッセージはドロップされます。ただし、"throwExceptionOnRejection" フラグは、拒否されたメッセージが例外をトリガーするかどうかを決定します。その値は、廃棄チャネルの存在に関係なく評価されます。- パラメーター:
discardChannel
- DiscardChannel。- 戻り値:
- エンドポイント仕様。
- 関連事項:
discardChannel
拒否されたメッセージを送信するチャネル名を指定します。破棄チャネルが null(デフォルト)の場合、拒否されたメッセージはドロップされます。ただし、"throwExceptionOnRejection" フラグは、拒否されたメッセージが例外をトリガーするかどうかを決定します。その値は、廃棄チャネルの存在に関係なく評価されます。- パラメーター:
discardChannelName
- DiscardChannelName。- 戻り値:
- エンドポイント仕様。
- 関連事項:
discardFlow
discardChannel(MessageChannel)
の代わりに破棄されたメッセージに対して実行するようにサブフローを構成します。- パラメーター:
discardFlow
- 廃棄フロー。- 戻り値:
- エンドポイント仕様。
discardWithinAdvice
このフィルターに適用されるリクエストハンドラーのアドバイス内で破棄処理を実行する場合は、"true" に設定します。拒否時に例外をスローする場合にも適用されます。デフォルト: true。- パラメーター:
discardWithinAdvice
- DiscardWithinAdvice。- 戻り値:
- エンドポイント仕様。
- 関連事項: