diff --git a/.obsidian/plugins/home-tab/data.json b/.obsidian/plugins/home-tab/data.json index e0f58ad1..8e2e1f91 100644 --- a/.obsidian/plugins/home-tab/data.json +++ b/.obsidian/plugins/home-tab/data.json @@ -24,24 +24,24 @@ "unresolvedLinks": false, "recentFilesStore": [ { - "filepath": "_inbox/Exchange Topics.md", - "timestamp": 1719988437886 + "filepath": "_inbox/Exchange Headers.md", + "timestamp": 1719988705226 }, { "filepath": "_inbox/00 RabbitMQ.md", - "timestamp": 1719988434061 - }, - { - "filepath": "_inbox/Exchange Fanout.md", - "timestamp": 1719988425222 + "timestamp": 1719988704435 }, { "filepath": "_inbox/Exchange.md", - "timestamp": 1719988390280 + "timestamp": 1719988654391 }, { - "filepath": "_inbox/Exchange Direct.md", - "timestamp": 1719988350111 + "filepath": "_inbox/Exchange Fanout.md", + "timestamp": 1719988653045 + }, + { + "filepath": "_inbox/Exchange Topics.md", + "timestamp": 1719988437886 } ], "bookmarkedFileStore": [], diff --git a/.obsidian/plugins/recent-files-obsidian/data.json b/.obsidian/plugins/recent-files-obsidian/data.json index af0b7cdd..864b5270 100644 --- a/.obsidian/plugins/recent-files-obsidian/data.json +++ b/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,20 +1,24 @@ { "recentFiles": [ { - "basename": "Exchange Topics", - "path": "_inbox/Exchange Topics.md" + "basename": "Exchange Headers", + "path": "_inbox/Exchange Headers.md" }, { "basename": "00 RabbitMQ", "path": "_inbox/00 RabbitMQ.md" }, + { + "basename": "Exchange", + "path": "_inbox/Exchange.md" + }, { "basename": "Exchange Fanout", "path": "_inbox/Exchange Fanout.md" }, { - "basename": "Exchange", - "path": "_inbox/Exchange.md" + "basename": "Exchange Topics", + "path": "_inbox/Exchange Topics.md" }, { "basename": "Exchange Direct", @@ -195,10 +199,6 @@ { "basename": "S6d1773a36e954bf1b0458135ecbb9f9eA.jpg", "path": "meta/files/S6d1773a36e954bf1b0458135ecbb9f9eA.jpg.webp" - }, - { - "basename": "Pasted image 20231008174024", - "path": "meta/files/Pasted image 20231008174024.png" } ], "omittedPaths": [], diff --git a/_inbox/Exchange Headers.md b/_inbox/Exchange Headers.md new file mode 100644 index 00000000..0991e9db --- /dev/null +++ b/_inbox/Exchange Headers.md @@ -0,0 +1,15 @@ +--- +aliases: +tags: + - зрелость/🌱 +date: + - - 2024-07-03 +zero-link: + - "[[00 RabbitMQ]]" +parents: + - "[[Exchange]]" +linked: +--- +Queue связывается с [Exchange](Exchange.md) по заголовку сообщения, указывается условие, какие аргументы и их значения ожидаются. + +![](Pasted%20image%2020240703093937.png) \ No newline at end of file diff --git a/_inbox/Exchange Topics.md b/_inbox/Exchange Topics.md index 6d7f1e4f..522acac2 100644 --- a/_inbox/Exchange Topics.md +++ b/_inbox/Exchange Topics.md @@ -11,6 +11,7 @@ parents: linked: --- Routing Key может быть составным и задаваться в виде паттерна, для чего используются два спец. символа: -- `*` - обозначает одно или несколько слов. -- Слова разделяются точкой. -- \ No newline at end of file +- `*` - обозначает одно или несколько слов. Пример, `routingKey = *.database` +- `#` - одно или несколько слов. Слова разделяются точкой. + +![](Pasted%20image%2020240703093659.png) \ No newline at end of file diff --git a/_inbox/Exchange.md b/_inbox/Exchange.md index fba076fa..94fabbe9 100644 --- a/_inbox/Exchange.md +++ b/_inbox/Exchange.md @@ -15,4 +15,4 @@ Exchange получает messages от producer и отправляет его - [direct](Exchange%20Direct.md) - [fanout](Exchange%20Fanout.md) - [topics](Exchange%20Topics.md) -- headers \ No newline at end of file +- [headers](Exchange%20Headers.md) \ No newline at end of file diff --git a/meta/files/Pasted image 20240703093659.png b/meta/files/Pasted image 20240703093659.png new file mode 100644 index 00000000..e1e4ee11 Binary files /dev/null and b/meta/files/Pasted image 20240703093659.png differ diff --git a/meta/files/Pasted image 20240703093937.png b/meta/files/Pasted image 20240703093937.png new file mode 100644 index 00000000..f2244462 Binary files /dev/null and b/meta/files/Pasted image 20240703093937.png differ