クラス SubscribableJmsChannel
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.channel.AbstractMessageChannel
org.springframework.integration.jms.AbstractJmsChannel
org.springframework.integration.jms.SubscribableJmsChannel
- 実装されたすべてのインターフェース:
Aware
、BeanFactoryAware
、BeanNameAware
、DisposableBean
、InitializingBean
、ApplicationContextAware
、Lifecycle
、Phased
、SmartLifecycle
、BroadcastCapableChannel
、ExpressionCapable
、IntegrationPattern
、NamedComponent
、IntegrationManagement
、ManageableLifecycle
、ManageableSmartLifecycle
、TrackableComponent
、MessageChannel
、SubscribableChannel
、InterceptableChannel
public class SubscribableJmsChannel
extends AbstractJmsChannel
implements BroadcastCapableChannel, ManageableSmartLifecycle
メッセージ駆動型サブスクリプションの
AbstractJmsChannel
実装。また、JMS トピックに対して構成されたときに可能な pub-sub セマンティクスを表す BroadcastCapableChannel
を実装します。- 導入:
- 2.0
- 作成者:
- Mark Fisher, Gary Russell, Artem Bilan
ネストされたクラスのサマリー
クラス org.springframework.integration.channel.AbstractMessageChannel から継承されたネストクラス / インターフェース
AbstractMessageChannel.ChannelInterceptorList
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverrides
フィールドサマリー
クラス org.springframework.integration.channel.AbstractMessageChannel から継承されたフィールド
interceptors, meters
クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, logger
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
インターフェース org.springframework.messaging.MessageChannel から継承されたフィールド
INDEFINITE_TIMEOUT
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターのサマリー
コンストラクターコンストラクター説明SubscribableJmsChannel
(AbstractMessageListenerContainer container, JmsTemplate jmsTemplate) メソッドのサマリー
修飾子と型メソッド説明void
destroy()
int
getPhase()
boolean
boolean
ブロードキャスト機能に関して、このチャネルの状態を返します。boolean
void
onInit()
サブクラスは、初期化ロジック用にこれを実装できます。void
setMaxSubscribers
(int maxSubscribers) チャネルのディスパッチャーがサポートするサブスクライバの最大数を指定します。void
start()
void
stop()
void
stop
(RunnableSE callback) boolean
subscribe
(MessageHandler handler) boolean
unsubscribe
(MessageHandler handler) クラス org.springframework.integration.jms.AbstractJmsChannel から継承されたメソッド
doSend
クラス org.springframework.integration.channel.AbstractMessageChannel から継承されたメソッド
addInterceptor, addInterceptor, getComponentType, getFullChannelName, getIChannelInterceptorList, getIntegrationPatternType, getInterceptors, getMetricsCaptor, getOverrides, isLoggingEnabled, isObserved, registerMetricsCaptor, registerObservationRegistry, removeInterceptor, removeInterceptor, send, send, setDatatypes, setInterceptors, setLoggingEnabled, setMessageConverter, setObservationConvention, setShouldTrack
クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド
getManagedName, getManagedType, getThisAs, setManagedName, setManagedType
インターフェース org.springframework.messaging.MessageChannel から継承されたメソッド
send, send
インターフェース org.springframework.integration.support.context.NamedComponent から継承されたメソッド
getBeanName, getComponentName
コンストラクターの詳細
SubscribableJmsChannel
メソッドの詳細
setMaxSubscribers
public void setMaxSubscribers(int maxSubscribers) チャネルのディスパッチャーがサポートするサブスクライバの最大数を指定します。- パラメーター:
maxSubscribers
- 許可されるサブスクライバーの最大数。
subscribe
- 次で指定:
- インターフェース
SubscribableChannel
のsubscribe
unsubscribe
- 次で指定:
- インターフェース
SubscribableChannel
のunsubscribe
isBroadcast
public boolean isBroadcast()インターフェースからコピーされた説明:BroadcastCapableChannel
ブロードキャスト機能に関して、このチャネルの状態を返します。- 次で指定:
- インターフェース
BroadcastCapableChannel
のisBroadcast
- 戻り値:
- 放送機能に関するこのチャンネルの状態。
onInit
public void onInit()クラスからコピーされた説明:IntegrationObjectSupport
サブクラスは、初期化ロジック用にこれを実装できます。- オーバーライド:
- クラス
AbstractMessageChannel
のonInit
isAutoStartup
public boolean isAutoStartup()- 次で指定:
- インターフェース
SmartLifecycle
のisAutoStartup
getPhase
public int getPhase()- 次で指定:
- インターフェース
Phased
のgetPhase
- 次で指定:
- インターフェース
SmartLifecycle
のgetPhase
isRunning
public boolean isRunning()- 次で指定:
- インターフェース
Lifecycle
のisRunning
- 次で指定:
- インターフェース
ManageableLifecycle
のisRunning
start
public void start()- 次で指定:
- インターフェース
Lifecycle
のstart
- 次で指定:
- インターフェース
ManageableLifecycle
のstart
stop
public void stop()- 次で指定:
- インターフェース
Lifecycle
のstop
- 次で指定:
- インターフェース
ManageableLifecycle
のstop
stop
- 次で指定:
- インターフェース
SmartLifecycle
のstop
destroy
public void destroy()- 次で指定:
- インターフェース
DisposableBean
のdestroy
- 次で指定:
- インターフェース
IntegrationManagement
のdestroy
- オーバーライド:
- クラス
AbstractMessageChannel
のdestroy