bbk-amqp 1.1.0.204568 → 1.1.0.204852
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bbk/amqp/publisher.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f0d06e4e2c6ce263af611c367ef8244d21bff2ebe0b57e11add7d7fe20ba2d4
|
4
|
+
data.tar.gz: 81c6c10f2306989d0b6bfd57f0e957bcc89da4576759c900a908d62513021147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52bb3857b913abf7fd9fabcaf84a9508f141173afbcd6857367635b23d3cd801eb8fd8f8c5e0d68e197e9f9dc6921dff10e7089be55da2c002ffd53e3092ca79
|
7
|
+
data.tar.gz: 7b27fad67d1881ee337294073d3209c112302ee629c3a5b4aa1dbba0084c4a2a2de38edca64aa700ec0830874231a68dff57a0b1c9052009a126f8f21d003917
|
data/Gemfile.lock
CHANGED
data/lib/bbk/amqp/publisher.rb
CHANGED
@@ -70,7 +70,7 @@ module BBK
|
|
70
70
|
route_info = domain.call(route)
|
71
71
|
logger.debug "Route #{route.inspect} transformed to #{route_info.inspect}"
|
72
72
|
message = result.message
|
73
|
-
publish_message(route_info.routing_key, PublishedMessage.new({**message.headers, **route_info.headers}, message.payload), exchange: route_info.exchange)
|
73
|
+
publish_message(route_info.routing_key, PublishedMessage.new({**message.headers, **route_info.headers.select(&:present?)}, message.payload), exchange: route_info.exchange)
|
74
74
|
end
|
75
75
|
|
76
76
|
# Publish message
|