クラス SubscribableJmsChannel
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.channel.AbstractMessageChannel
org.springframework.integration.jms.channel.AbstractJmsChannel
org.springframework.integration.jms.channel.SubscribableJmsChannel
- 実装済みのインターフェース一覧:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Lifecycle, Phased, SmartLifecycle, BroadcastCapableChannel, ComponentSourceAware, ExpressionCapable, IntegrationPattern, NamedComponent, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent, MessageChannel, SubscribableChannel, InterceptableChannel
public class SubscribableJmsChannel
extends AbstractJmsChannel
implements BroadcastCapableChannel, ManageableSmartLifecycle
メッセージ駆動型サブスクリプションの
AbstractJmsChannel 実装。また、JMS トピックに対して構成されたときに可能な pub-sub セマンティクスを表す BroadcastCapableChannel を実装します。- 導入:
- 7.0
- 作成者:
- Mark Fisher, Gary Russell, Artem Bilan
ネストされたクラスの概要
クラス AbstractMessageChannel から継承されたネストクラス / インターフェース
AbstractMessageChannel.ChannelInterceptorListインターフェース IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverridesフィールド概要
クラス AbstractJmsChannel から継承されたフィールド
jmsTemplateクラス AbstractMessageChannel から継承されたフィールド
interceptors, metersクラス IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, loggerインターフェース IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEインターフェース MessageChannel から継承されたフィールド
INDEFINITE_TIMEOUTインターフェース SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクター概要
コンストラクターコンストラクター説明SubscribableJmsChannel(AbstractMessageListenerContainer container, JmsTemplate jmsTemplate) 方法の概要
修飾子と型メソッド説明voiddestroy()intgetPhase()booleanbooleanブロードキャスト機能に関して、このチャネルの状態を返します。booleanvoidonInit()サブクラスは、初期化ロジック用にこれを実装できます。voidsetMaxSubscribers(int maxSubscribers) チャネルのディスパッチャーがサポートするサブスクライバの最大数を指定します。voidstart()voidstop()voidstop(RunnableSE callback) booleansubscribe(MessageHandler handler) booleanunsubscribe(MessageHandler handler) クラス AbstractJmsChannel から継承されたメソッド
doSend, fromJmsMessage, getHeaderMapper, setHeaderMapperクラス AbstractMessageChannel から継承されたメソッド
addInterceptor, addInterceptor, getComponentType, getFullChannelName, getIChannelInterceptorList, getIntegrationPatternType, getInterceptors, getMetricsCaptor, getOverrides, isApplicationRunning, isLoggingEnabled, isObserved, registerMetricsCaptor, registerObservationRegistry, removeInterceptor, removeInterceptor, send, send, setDatatypes, setInterceptors, setLoggingEnabled, setMessageConverter, setObservationConvention, setShouldTrackクラス 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クラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース IntegrationManagement から継承されたメソッド
getManagedName, getManagedType, getThisAs, setManagedName, setManagedTypeインターフェース MessageChannel から継承されたメソッド
send, sendインターフェース NamedComponent から継承されたメソッド
getBeanName, getComponentNameインターフェース SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
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