クラス RabbitProperties
java.lang.ObjectSE
org.springframework.boot.autoconfigure.amqp.RabbitProperties
Rabbit の構成プロパティ。
- 導入:
- 1.0.0
- 作成者:
- Greg Turnquist, Dave Syer, Stephane Nicoll, Andy Wilkinson, Josh Thornhill, Gary Russell, Artsiom Yudovin, Franjo Zilic, Edd ú Mel é ndez, Rafael Carvalho, Scott Frederick, Lasse Wulff, Yanming Zhou
ネストされたクラスの要約
ネストされたクラス修飾子と型クラス説明static classstatic classstatic classstatic enumstatic classDirectMessageListenerContainerの構成プロパティ。static classstatic classstatic classstatic classSimpleMessageListenerContainerの構成プロパティ。classstatic final classstatic classstatic classコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明アドレスが設定されていない場合は、コンマ区切りのアドレス、または構成されたホストとポートから作成された単一のアドレス(host:port)を返します。最初のアドレスからホストを返します。アドレスが設定されていない場合は、構成されたホストを返します。アドレスが設定されていて、最初のアドレスにパスワードがある場合は、それが返されます。int最初のアドレスからポートを返します。アドレスが設定されていない場合は、構成されたポートを返します。アドレスが設定されていて、最初のアドレスにユーザー名がある場合は、それが返されます。アドレスが設定されていて、最初のアドレスに仮想ホストがある場合は、それが返されます。org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.AddressShuffleModegetCache()getHost()getPort()org.springframework.amqp.rabbit.connection.CachingConnectionFactory.ConfirmTypeintgetSsl()booleanvoidsetAddresses(StringSE addresses) voidsetAddressShuffleMode(org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.AddressShuffleMode addressShuffleMode) voidsetChannelRpcTimeout(DurationSE channelRpcTimeout) voidsetConnectionTimeout(DurationSE connectionTimeout) voidvoidsetMaxInboundMessageBodySize(DataSize maxInboundMessageBodySize) voidsetPassword(StringSE password) voidvoidsetPublisherConfirmType(org.springframework.amqp.rabbit.connection.CachingConnectionFactory.ConfirmType publisherConfirmType) voidsetPublisherReturns(boolean publisherReturns) voidsetRequestedChannelMax(int requestedChannelMax) voidsetRequestedHeartbeat(DurationSE requestedHeartbeat) voidsetUsername(StringSE username) voidsetVirtualHost(StringSE virtualHost)
コンストラクターの詳細
RabbitProperties
public RabbitProperties()
メソッドの詳細
getHost
determineHost
最初のアドレスからホストを返します。アドレスが設定されていない場合は、構成されたホストを返します。- 戻り値:
- ザホスト
- 関連事項:
setHost
getPort
determinePort
public int determinePort()最初のアドレスからポートを返します。アドレスが設定されていない場合は、構成されたポートを返します。- 戻り値:
- 港
- 関連事項:
setPort
getAddresses
determineAddresses
アドレスが設定されていない場合は、コンマ区切りのアドレス、または構成されたホストとポートから作成された単一のアドレス(host:port)を返します。- 戻り値:
- アドレス
setAddresses
getUsername
determineUsername
アドレスが設定されていて、最初のアドレスにユーザー名がある場合は、それが返されます。それ以外の場合は、getUsername()を呼び出した結果を返します。- 戻り値:
- ユーザー名
- 関連事項:
setUsername
getPassword
determinePassword
アドレスが設定されていて、最初のアドレスにパスワードがある場合は、それが返されます。それ以外の場合は、getPassword()を呼び出した結果を返します。- 戻り値:
- パスワードまたは
null - 関連事項:
setPassword
getSsl
getVirtualHost
determineVirtualHost
アドレスが設定されていて、最初のアドレスに仮想ホストがある場合は、それが返されます。それ以外の場合は、getVirtualHost()を呼び出した結果を返します。- 戻り値:
- 仮想ホストまたは
null - 関連事項:
setVirtualHost
getAddressShuffleMode
public org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.AddressShuffleMode getAddressShuffleMode()setAddressShuffleMode
public void setAddressShuffleMode(org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.AddressShuffleMode addressShuffleMode) getRequestedHeartbeat
setRequestedHeartbeat
getRequestedChannelMax
public int getRequestedChannelMax()setRequestedChannelMax
public void setRequestedChannelMax(int requestedChannelMax) isPublisherReturns
public boolean isPublisherReturns()setPublisherReturns
public void setPublisherReturns(boolean publisherReturns) getConnectionTimeout
setPublisherConfirmType
public void setPublisherConfirmType(org.springframework.amqp.rabbit.connection.CachingConnectionFactory.ConfirmType publisherConfirmType) getPublisherConfirmType
public org.springframework.amqp.rabbit.connection.CachingConnectionFactory.ConfirmType getPublisherConfirmType()setConnectionTimeout
getChannelRpcTimeout
setChannelRpcTimeout
getMaxInboundMessageBodySize
setMaxInboundMessageBodySize
getCache
getListener
getTemplate
getStream