lib/outboxable.rb in outboxable-1.0.5 vs lib/outboxable.rb in outboxable-1.0.6
- old
+ new
@@ -24,10 +24,10 @@
has_many :outboxes, as: :outboxable, dependent: :destroy
def instantiate_outbox(routing_key:)
outboxes.new(
routing_key:,
- exchange: Outboxable.configuration.rabbitmq_event_bus_exchange,
+ exchange: Outboxable.configuration.rabbitmq_exchange_name,
payload: as_json
)
end
def instantiate_outbox_for_create