クラス Address
java.lang.ObjectSE
org.springframework.amqp.core.Address
Represents an address for publication of an AMQP message. The AMQP 0.9 specification has an unstructured string that is used as a "reply to" address. There are, however, conventions in use, and this class makes it easier to follow these conventions, which can be easily summarised as:
(exchange)/(routingKey)ここでも、交換名をデフォルトで空にします (そのため、ルーティングキーのみがキュー名として機能します)。
For AMQP 1.0, only a routing key is treated as a target destination.
- 作成者:
- Mark Pollack, Mark Fisher, Dave Syer, Artem Bilan, Gary Russell, Ngoc Nhan
フィールドの詳細
AMQ_RABBITMQ_REPLY_TO
この値をRabbitTemplate#setReplyAddress(String)で使用して、直接返信先を使用することを明示的に示します。- 関連事項:
コンストラクターの詳細
Address
次の形式で構造化文字列から Address インスタンスを作成します(exchange)/(routingKey)
. If exchange is parsed to an empty string, then a routing key is treated as a queue name. TheAMQ_RABBITMQ_REPLY_TOmatching address is treated as a routing key.- パラメーター:
address- 構造化された文字列。
Address
メソッドの詳細
getExchangeName
getRoutingKey
equals
hashCode
toString