lib/bbk/amqp/message.rb in bbk-amqp-1.0.0.82273 vs lib/bbk/amqp/message.rb in bbk-amqp-1.0.0.89320
- old
+ new
@@ -43,9 +43,13 @@
def nack(*args, error: nil, **kwargs)
consumer.nack(self, *args, error: error, **kwargs)
end
+ def clone
+ self.class.new(consumer, delivery_info, properties, body)
+ end
+
end
end
end