クラス StompMessageHandler
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.MessageHandlerSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.stomp.outbound.StompMessageHandler
- 実装されているすべてのインターフェース:
- org.reactivestreams.Subscriber<Message<?>>、- Aware、- BeanFactoryAware、- BeanNameAware、- DisposableBean、- InitializingBean、- ApplicationContextAware、- ApplicationEventPublisherAware、- Lifecycle、- Ordered、- ComponentSourceAware、- ExpressionCapable、- Orderable、- IntegrationPattern、- NamedComponent、- IntegrationManagement、- ManageableLifecycle、- TrackableComponent、- MessageHandler、- reactor.core.CoreSubscriber<Message<?>>
public class StompMessageHandler
extends AbstractMessageHandler
implements ApplicationEventPublisherAware, ManageableLifecycle
STOMP 宛先にメッセージを送信するための 
AbstractMessageHandler 実装。- 導入:
- 4.2
- 作成者:
- Artem Bilan, Gary Russell, Christian Tzolov
- ネストされたクラスの要約- インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース- IntegrationManagement.ManagementOverrides
- フィールドのサマリー- クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたフィールド- EXPRESSION_PARSER, logger- インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド- METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME- インターフェース org.springframework.core.Ordered から継承されたフィールド- HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- コンストラクターの概要コンストラクター
- メソッドのサマリー修飾子と型メソッド説明- protected void- handleMessageInternal- (Message<?> message) - boolean- protected void- onInit()サブクラスは、初期化ロジック用にこれを実装できます。- void- setApplicationEventPublisher- (ApplicationEventPublisher applicationEventPublisher) - void- setConnectTimeout- (long connectTimeout) STOMP セッションの確立を待機するタイムアウトをミリ秒単位で指定します。- void- setDestination- (StringSE destination) - void- setDestinationExpression- (Expression destinationExpression) - void- setHeaderMapper- (HeaderMapper<StompHeaders> headerMapper) - void- setIntegrationEvaluationContext- (EvaluationContext evaluationContext) - void- start()- void- stop()- クラス org.springframework.integration.handler.AbstractMessageHandler から継承されたメソッド- handleMessage, onComplete, onError, onNext, onSubscribe, setObservationConvention- クラス org.springframework.integration.handler.MessageHandlerSupport から継承されたメソッド- buildSendTimer, destroy, getComponentType, getIntegrationPatternType, getManagedName, getManagedType, getMetricsCaptor, getObservationRegistry, getOrder, getOverrides, isLoggingEnabled, isObserved, registerMetricsCaptor, registerObservationRegistry, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrack- クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたメソッド- afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString- クラス java.lang.ObjectSE から継承されたメソッド- clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE- インターフェース reactor.core.CoreSubscriber から継承されたメソッド- currentContext- インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド- getThisAs- インターフェース org.springframework.integration.support.context.NamedComponent から継承されたメソッド- getBeanName, getComponentName
- コンストラクターの詳細- StompMessageHandler
 
- メソッドの詳細- setDestination
- setDestinationExpression
- setHeaderMapper
- setConnectTimeoutpublic void setConnectTimeout- (long connectTimeout) STOMP セッションの確立を待機するタイムアウトをミリ秒単位で指定します。- AbstractStompSessionManager.setRecoveryInterval(int)より大きくなければなりません。- パラメーター:
- connectTimeout- 使用するタイムアウト。
- 導入:
- 4.2.2
 
- setIntegrationEvaluationContext
- setApplicationEventPublisher- 次で指定:
-  インターフェース ApplicationEventPublisherAwareのsetApplicationEventPublisher
 
- onInitprotected void onInit()クラスからコピーされた説明:- IntegrationObjectSupportサブクラスは、初期化ロジック用にこれを実装できます。- オーバーライド:
-  クラス IntegrationObjectSupportのonInit
 
- handleMessageInternal- 次で指定:
-  クラス AbstractMessageHandlerのhandleMessageInternal
 
- startpublic void start()- 次で指定:
-  インターフェース Lifecycleのstart
- 次で指定:
-  インターフェース ManageableLifecycleのstart
 
- stoppublic void stop()- 次で指定:
-  インターフェース Lifecycleのstop
- 次で指定:
-  インターフェース ManageableLifecycleのstop
 
- isRunningpublic boolean isRunning()- 次で指定:
-  インターフェース LifecycleのisRunning
- 次で指定:
-  インターフェース ManageableLifecycleのisRunning