Class KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K, V, R>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,G>
org.springframework.integration.dsl.MessagingGatewaySpec <S、KafkaInboundGateway <K、V、R>>
org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec <K、V、R、KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec <K、V、R>>
org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>
- 型パラメーター:
K
- 鍵の型。V
- リクエスト値型。R
- 応答値の型。
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<KafkaInboundGateway<K,
、V, R>> InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
、ComponentsRegistration
- 含まれているクラス:
- KafkaInboundGatewaySpec < K、V、R、S は KafkaInboundGatewaySpec < K、V、R、S を継承します>>
public static class KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>
extends KafkaInboundGatewaySpec<K,V,R,KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>>
ConcurrentMessageListenerContainer
構成の KafkaInboundGatewaySpec
拡張。ネストされたクラスのサマリー
クラス org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec から継承されたネストクラス / インターフェース
KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,
V, R> フィールドサマリー
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, target
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
メソッドのサマリー
修飾子と型メソッド説明configureListenerContainer
(ConsumerSE<KafkaMessageListenerContainerSpec<K, V>> configurer) KafkaMessageListenerContainerSpec
引数を指定してConsumer
SE コールバックを呼び出すことにより、リスナーコンテナーを構成します。configureTemplate
(ConsumerSE<KafkaTemplateSpec<K, R>> configurer) KafkaTemplateSpec
引数を指定して、Consumer
SE コールバックを呼び出してテンプレートを構成します。クラス org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec から継承されたメソッド
messageConverter, onPartitionsAssignedSeekCallback, recoveryCallback, retryTemplate
クラス org.springframework.integration.dsl.MessagingGatewaySpec から継承されたメソッド
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, observationConvention, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, doGet, 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
メソッドの詳細
configureListenerContainer
public KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V, configureListenerContainerR> (ConsumerSE<KafkaMessageListenerContainerSpec<K, V>> configurer) KafkaMessageListenerContainerSpec
引数を指定してConsumer
SE コールバックを呼び出すことにより、リスナーコンテナーを構成します。- パラメーター:
configurer
- コンフィギュレーター Java 8 Lambda。- 戻り値:
- スペック。
configureTemplate
public KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V, configureTemplateR> (ConsumerSE<KafkaTemplateSpec<K, R>> configurer) KafkaTemplateSpec
引数を指定して、Consumer
SE コールバックを呼び出してテンプレートを構成します。- パラメーター:
configurer
- コンフィギュレーター Java 8 Lambda。- 戻り値:
- スペック。
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistration
のgetComponentsToRegister
- オーバーライド:
- クラス
KafkaInboundGatewaySpec<K,
のV, R, KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K, V, R>> getComponentsToRegister