Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3912945
D337.id800.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
834 B
Referenced Files
None
Subscribers
None
D337.id800.diff
View Options
diff --git a/app/Jobs/SendMessageToBroker.php b/app/Jobs/SendMessageToBroker.php
--- a/app/Jobs/SendMessageToBroker.php
+++ b/app/Jobs/SendMessageToBroker.php
@@ -81,7 +81,7 @@
*/
protected function sendMessage () {
try {
- Broker::setExchangeTarget($this->target)
+ Broker::setExchangeTarget($this->target, "topic", true)
->routeTo($this->routingKey)
->sendMessage($this->message);
} catch (\Exception $ex) {
diff --git a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -13,7 +13,7 @@
"php": ">=5.6.0",
"laravel/framework": "5.2.*",
"keruald/github": ">=0.2.0",
- "keruald/broker": ">=0.3.3",
+ "keruald/broker": ">=0.4.0",
"netresearch/jsonmapper": "~0.1.0",
"raven/raven": "^0.13.0"
},
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 07:42 (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307415
Default Alt Text
D337.id800.diff (834 B)
Attached To
Mode
D337: Set the broker AMQP exchange as durable
Attached
Detach File
Event Timeline
Log In to Comment