クラス SimpleRoutingConnectionFactory
- java.lang.ObjectSE
-
- org.springframework.amqp.rabbit.connection.AbstractRoutingConnectionFactory
-
- org.springframework.amqp.rabbit.connection.SimpleRoutingConnectionFactory
- 実装済みのインターフェース一覧:
ConnectionFactory、RoutingConnectionFactory、InitializingBean
public class SimpleRoutingConnectionFactory extends AbstractRoutingConnectionFactory
このConnectionFactoryのインスタンスのキーによって、スレッドにバインドされたリソースから現在のConnectionFactoryのlookupKeyを取得するAbstractRoutingConnectionFactory実装。- 導入:
- 1.3
- 作成者:
- Artem Bilan, Gary Russell
コンストラクター概要
コンストラクター コンストラクター 説明 SimpleRoutingConnectionFactory()
方法の概要
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 protected ObjectSEdetermineCurrentLookupKey()現在の検索キーを決定します。クラス org.springframework.amqp.rabbit.connection.AbstractRoutingConnectionFactory から継承されたメソッド
addConnectionListener, addTargetConnectionFactory, afterPropertiesSet, clearConnectionListeners, createConnection, determineTargetConnectionFactory, getHost, getPort, getTargetConnectionFactory, getUsername, getVirtualHost, isLenientFallback, isPublisherConfirms, isPublisherReturns, removeConnectionListener, removeTargetConnectionFactory, setDefaultTargetConnectionFactory, setLenientFallback, setTargetConnectionFactories
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.amqp.rabbit.connection.ConnectionFactory から継承されたメソッド
getPublisherConnectionFactory, isSimplePublisherConfirms
メソッドの詳細
determineCurrentLookupKey
@Nullable protected ObjectSE determineCurrentLookupKey()
クラスからコピーされた説明:AbstractRoutingConnectionFactory現在の検索キーを決定します。これは通常、スレッドにバインドされたコンテキストをチェックするために実装されます。- 次で指定:
- クラス
AbstractRoutingConnectionFactoryのdetermineCurrentLookupKey - 戻り値:
- 検索キー。