Skip to content

Commit 055e7fd

Browse files
author
vadim.kar
committed
fix
1 parent 62a3d64 commit 055e7fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4-
## [1.6.0] - 2025-08-19
4+
## [1.6.4] - 2025-08-19
55
### Added
66
- Ability to specify a custom job class for publishing via `publishing_job_class_callable` config.
77
- Ability to specify a default queue for publishing jobs via `default_publishing_job_queue` config.

lib/rabbit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def configure
169169
config.validate!
170170
end
171171

172-
def publish(message_options, custom_queue_name: nil)
172+
def publish(custom_queue_name: nil, **message_options)
173173
message = Publishing::Message.new(message_options)
174174
publish_job_callable = config.publishing_job_class_callable || Publishing::Job
175175
queue_name = custom_queue_name || default_queue_name

0 commit comments

Comments
 (0)