クラス 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 class
static class
static class
static enum
static class
DirectMessageListenerContainer
の構成プロパティ。static class
static class
static class
static class
SimpleMessageListenerContainer
の構成プロパティ。class
static final class
static class
static class
コンストラクターのサマリー
コンストラクター方法の概要
修飾子と型メソッド説明設定されたアドレスを返します。アドレスが設定されていない場合は、設定されたホストとポートから作成された単一のアドレス (host:port
) を返します。最初のアドレスからホストを返します。アドレスが設定されていない場合は、構成されたホストを返します。アドレスが設定されていて、最初のアドレスにパスワードがある場合は、それが返されます。int
最初のアドレスからポートを返します。アドレスが設定されていない場合は、構成されたポートを返します。アドレスが設定されていて、最初のアドレスにユーザー名がある場合は、それが返されます。アドレスが設定されていて、最初のアドレスに仮想ホストがある場合は、それが返されます。org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.AddressShuffleMode
getCache()
getHost()
getPort()
org.springframework.amqp.rabbit.connection.CachingConnectionFactory.ConfirmType
int
getSsl()
boolean
void
setAddresses
(ListSE<StringSE> addresses) void
setAddressShuffleMode
(org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.AddressShuffleMode addressShuffleMode) void
setChannelRpcTimeout
(DurationSE channelRpcTimeout) void
setConnectionTimeout
(DurationSE connectionTimeout) void
void
setMaxInboundMessageBodySize
(DataSize maxInboundMessageBodySize) void
setPassword
(StringSE password) void
void
setPublisherConfirmType
(org.springframework.amqp.rabbit.connection.CachingConnectionFactory.ConfirmType publisherConfirmType) void
setPublisherReturns
(boolean publisherReturns) void
setRequestedChannelMax
(int requestedChannelMax) void
setRequestedHeartbeat
(DurationSE requestedHeartbeat) void
setUsername
(StringSE username) void
setVirtualHost
(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