クラス KafkaOutboundGatewaySpec<K,V,R,S extends KafkaOutboundGatewaySpec<K,V,R,S>>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec <S、KafkaProducerMessageHandler <K、V>>
org.springframework.integration.dsl.MessageHandlerSpec <S、KafkaProducerMessageHandler <K、V>>
org.springframework.integration.kafka.dsl.KafkaProducerMessageHandlerSpec<K,V,S>
org.springframework.integration.kafka.dsl.KafkaOutboundGatewaySpec<K,V,R,S>
- 型パラメーター:
K
- 鍵の型。V
- 送信値型。R
- 応答値の型。S
-KafkaProducerMessageHandlerSpec
拡張型。
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<KafkaProducerMessageHandler<K,
、V>> InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
public class KafkaOutboundGatewaySpec<K,V,R,S extends KafkaOutboundGatewaySpec<K,V,R,S>>
extends KafkaProducerMessageHandlerSpec<K,V,S>
ゲートウェイとしての
KafkaProducerMessageHandler
の MessageHandlerSpec
実装。- 導入:
- 5.4
- 作成者:
- Gary Russell
ネストされたクラスのサマリー
ネストされたクラス修飾子と型クラス説明static class
KafkaTemplate
ベースのKafkaProducerMessageHandlerSpec
拡張。static class
KafkaTemplate
のIntegrationComponentSpec
実装。クラス org.springframework.integration.kafka.dsl.KafkaProducerMessageHandlerSpec から継承されたネストクラス / インターフェース
KafkaProducerMessageHandlerSpec.KafkaProducerMessageHandlerTemplateSpec<K,
V> フィールドのサマリー
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, target
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
メソッドのサマリー
修飾子と型メソッド説明assigmentDuration
(DurationSE duration) デフォルトの返信先トピック / パーティションを決定するために、ゲートウェイとして使用される場合に、パーティションの割り当てを待機する時間を設定します。replyMessageConverter
(org.springframework.kafka.support.converter.RecordMessageConverter messageConverter) 返信用のメッセージコンバーターを設定します(ゲートウェイの場合)。クラス org.springframework.integration.kafka.dsl.KafkaProducerMessageHandlerSpec から継承されたメソッド
flush, flushExpression, flushExpression, futuresChannel, futuresChannel, headerMapper, messageKey, messageKey, messageKeyExpression, messageKeyExpression, partitionId, partitionId, partitionIdExpression, partitionIdExpression, producerRecordCreator, sendFailureChannel, sendFailureChannel, sendSuccessChannel, sendSuccessChannel, sendTimeout, sync, timestamp, timestampExpression, timestampExpression, topic, topic, topicExpression, topicExpression, useTemplateConverter
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, 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
メソッドの詳細
replyMessageConverter
public S replyMessageConverter(org.springframework.kafka.support.converter.RecordMessageConverter messageConverter) 返信用のメッセージコンバーターを設定します(ゲートウェイの場合)。- パラメーター:
messageConverter
- コンバーター。- 戻り値:
- スペック。
assigmentDuration
デフォルトの返信先トピック / パーティションを決定するために、ゲートウェイとして使用される場合に、パーティションの割り当てを待機する時間を設定します。- パラメーター:
duration
- デュレーション。- 戻り値:
- スペック。
- 導入:
- 6.0