クラス RabbitProperties

java.lang.ObjectSE
org.springframework.boot.autoconfigure.amqp.RabbitProperties

@ConfigurationProperties(prefix="spring.rabbitmq") public class RabbitProperties extends ObjectSE
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
  • コンストラクターの詳細

    • RabbitProperties

      public RabbitProperties()
  • メソッドの詳細

    • getHost

      public StringSE getHost()
    • determineHost

      public StringSE determineHost()
      最初のアドレスからホストを返します。アドレスが設定されていない場合は、構成されたホストを返します。
      戻り値:
      ザホスト
      関連事項:
    • setHost

      public void setHost(StringSE host)
    • getPort

      public IntegerSE getPort()
    • determinePort

      public int determinePort()
      最初のアドレスからポートを返します。アドレスが設定されていない場合は、構成されたポートを返します。
      戻り値:
      関連事項:
    • setPort

      public void setPort(IntegerSE port)
    • getAddresses

      public StringSE getAddresses()
    • determineAddresses

      public StringSE determineAddresses()
      アドレスが設定されていない場合は、コンマ区切りのアドレス、または構成されたホストとポートから作成された単一のアドレス(host:port)を返します。
      戻り値:
      アドレス
    • setAddresses

      public void setAddresses(StringSE addresses)
    • getUsername

      public StringSE getUsername()
    • determineUsername

      public StringSE determineUsername()
      アドレスが設定されていて、最初のアドレスにユーザー名がある場合は、それが返されます。それ以外の場合は、getUsername() を呼び出した結果を返します。
      戻り値:
      ユーザー名
      関連事項:
    • setUsername

      public void setUsername(StringSE username)
    • getPassword

      public StringSE getPassword()
    • determinePassword

      public StringSE determinePassword()
      アドレスが設定されていて、最初のアドレスにパスワードがある場合は、それが返されます。それ以外の場合は、getPassword() を呼び出した結果を返します。
      戻り値:
      パスワードまたは null
      関連事項:
    • setPassword

      public void setPassword(StringSE password)
    • getSsl

      public RabbitProperties.Ssl getSsl()
    • getVirtualHost

      public StringSE getVirtualHost()
    • determineVirtualHost

      public StringSE determineVirtualHost()
      アドレスが設定されていて、最初のアドレスに仮想ホストがある場合は、それが返されます。それ以外の場合は、getVirtualHost() を呼び出した結果を返します。
      戻り値:
      仮想ホストまたは null
      関連事項:
    • setVirtualHost

      public void setVirtualHost(StringSE virtualHost)
    • getAddressShuffleMode

      public org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.AddressShuffleMode getAddressShuffleMode()
    • setAddressShuffleMode

      public void setAddressShuffleMode(org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.AddressShuffleMode addressShuffleMode)
    • getRequestedHeartbeat

      public DurationSE getRequestedHeartbeat()
    • setRequestedHeartbeat

      public void setRequestedHeartbeat(DurationSE requestedHeartbeat)
    • getRequestedChannelMax

      public int getRequestedChannelMax()
    • setRequestedChannelMax

      public void setRequestedChannelMax(int requestedChannelMax)
    • isPublisherReturns

      public boolean isPublisherReturns()
    • setPublisherReturns

      public void setPublisherReturns(boolean publisherReturns)
    • getConnectionTimeout

      public DurationSE getConnectionTimeout()
    • setPublisherConfirmType

      public void setPublisherConfirmType(org.springframework.amqp.rabbit.connection.CachingConnectionFactory.ConfirmType publisherConfirmType)
    • getPublisherConfirmType

      public org.springframework.amqp.rabbit.connection.CachingConnectionFactory.ConfirmType getPublisherConfirmType()
    • setConnectionTimeout

      public void setConnectionTimeout(DurationSE connectionTimeout)
    • getChannelRpcTimeout

      public DurationSE getChannelRpcTimeout()
    • setChannelRpcTimeout

      public void setChannelRpcTimeout(DurationSE channelRpcTimeout)
    • getMaxInboundMessageBodySize

      public DataSize getMaxInboundMessageBodySize()
    • setMaxInboundMessageBodySize

      public void setMaxInboundMessageBodySize(DataSize maxInboundMessageBodySize)
    • getCache

      public RabbitProperties.Cache getCache()
    • getListener

      public RabbitProperties.Listener getListener()
    • getTemplate

      public RabbitProperties.Template getTemplate()
    • getStream

      public RabbitProperties.Stream getStream()