bbk-amqp 1.0.0.81661 → 1.0.0.82233
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 +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c4691eeb1a8c742af5a8678ed18f4ab9c198765e6e189716b972bfcdde3c409
|
4
|
+
data.tar.gz: 8fac5db1263e73f8e2fa5bf3aed867d297933cfd981ec364b559a5bc20959dc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa1ea15621d89c371748dc3b1227efcd2162d13ba10e761d0520cdaf51b97590f9af8205a119b15eb1e9f6ae897c9edad8b5b8aca44c9046c80e8233f0c7f651
|
7
|
+
data.tar.gz: 664f3ad951d06369bcbc3c1994b986a44a83ef32732eaf8ff95ecd4657c035de08e54dbcc49071e5df9c3cc6431e0d176322714d0c37e934d3326039aa9ec36e
|
data/Gemfile.lock
CHANGED
data/lib/bbk/amqp/publisher.rb
CHANGED
@@ -8,7 +8,7 @@ module BBK
|
|
8
8
|
# Publisher send amqp messages
|
9
9
|
class Publisher
|
10
10
|
|
11
|
-
HEADER_PROP_FIELDS = %i[
|
11
|
+
HEADER_PROP_FIELDS = %i[message_id reply_to correlation_id].freeze
|
12
12
|
PROTOCOLS = %w[mq amqp amqps].freeze
|
13
13
|
|
14
14
|
attr_reader :connection, :domains, :logger, :channel, :ack_map, :sended_messages, :channel
|
@@ -72,7 +72,7 @@ module BBK
|
|
72
72
|
mandatory: true,
|
73
73
|
routing_key: routing_key,
|
74
74
|
headers: message.headers,
|
75
|
-
user_id: client_name,
|
75
|
+
# user_id: client_name,
|
76
76
|
**message.headers.select {|k| HEADER_PROP_FIELDS.include? k }.compact
|
77
77
|
}.merge(options).symbolize_keys
|
78
78
|
send_message(exchange, routing_key, message.payload, properties)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbk-amqp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.82233
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoylenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|