Skip to content

1.2.0

Latest

Choose a tag to compare

@usmonaliyev99 usmonaliyev99 released this 29 May 06:56
1ecd5d8

πŸ†• What's new?

βœ… Support for Routing Key Definition

This update introduces the ability to define custom routing keys when publishing messages β€” giving you more flexibility and control over message delivery in topic or direct exchanges.

πŸ”§ Example usage:

SimpleMQ::exchange('my-exchange')
    ->setRoutingKey('user.created')
    ->setBody(['id' => 123])
    ->publish();

πŸ™Œ Special thanks to @fbagmon for the contribution!
πŸ”— Merged via Pull Request #4