クラス 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 classKafkaTemplateベースのKafkaProducerMessageHandlerSpec拡張。static classKafkaTemplateの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