Page MenuHomeDevCentral

D337.id801.diff
No OneTemporary

D337.id801.diff

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

Mime Type
text/plain
Expires
Fri, Dec 20, 06:41 (20 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307415
Default Alt Text
D337.id801.diff (834 B)

Event Timeline