bschmitt / laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages
MIT License
270 stars 86 forks source link

Batch publishing #93

Closed joskfg closed 4 years ago

joskfg commented 4 years ago

Initial implementation.

I didn't found an easy way to do this due to the object is created in the final publication, so I need a store. It would be google to inject the dependency and be able to do a pass to the real methods instead of accumulate in the object and do all the work in the final publishing.

Any suggestion?

joskfg commented 4 years ago

If you consider OK the approach, I'll fix the code.

stevenklar commented 4 years ago

Thank you for the contribution. The method names might be open to change until next release, but I will merge it for now.