blog

spring_amqp

1.padding 2.message 3.profile 4.messageConverter...

Sep 5, 2020 · 1 min. read
シェア

パディング

最初に交換があり、次にキューがあり、交換がどのキューにバインドされるかを宣言する。

メッセージ

どの取引所にメッセージを送信し、どのバインディングルールをメッセージに含めるかを示すメッセージを作成する。

設定ファイル

<dependency>
 <groupId>org.springframework.boot</groupId>
 <artifactId>spring-boot-starter-test</artifactId>
 <scope>test</scope>
</dependency>

メッセージ変換

org.springframework.amqp.rabbit.core.RabbitTemplate private MessageConverter messageConverter = new SimpleMessageConverter();

注釈 ConditionalOnProperty

@ConditionalOnProperty(prefix = "rest", name = "auth-open", havingValue = "true", matchIfMissing = true)
Read next

jsはデータ型を決定する。

オブジェクトを配列型として判定する方法を説明する前に、jsのデータ型を整理しておきましょう。jsには、数値、文字列、オブジェクト、ブール値、null、undefinedの合計6つのデータ型があります。\nvar str="stri

Sep 3, 2020 · 1 min read