Apexmq

Latest version: v1.0.8

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.0.2

New Features:
**1. Broadcast Functionality in Producers:**

- A new feature has been added to support broadcasting messages to all queues in the RabbitMQ connection.
- The publish function now accepts a to parameter with a value of "broadcast", allowing messages to be sent to all declared queues.
- This simplifies sending updates to multiple queues without explicitly listing them.

**Example Usage:**

python
publish("user.create", {"id": 1, "name": "John Doe"}, "broadcast")

This will broadcast a message to all queues in the current connection.

Enhancements:
**1. Flexible Queue Targeting:**

- The `publish` function now accepts a list of queues or a broadcast target, making message routing more dynamic and flexible.

Bug Fixes:

- Improved error logging when publishing to queues. If a message fails to publish to a queue, detailed error information is now logged.

Notes:

- The new broadcast functionality enhances multi-queue environments, enabling more streamlined communication and easier scaling across multiple consumers.

1.0.1

We are excited to announce the first release of ApexMQ, a Django app that simplifies RabbitMQ integration by offering an intuitive and efficient interface for managing RabbitMQ connections, channels, queues, message production, and consumption.

This release brings the following key features:

🚀 New Features

**1. RabbitMQ Connection Management:**

- Easily establish and manage RabbitMQ connections with a flexible configuration system.

**2. Channel and Queue Management:**

- Seamlessly create and manage channels and queues within RabbitMQ through Django settings.

**3. Autoreload Support (DEBUG mode):**

- RabbitMQ connections are automatically reconfigured when code changes are detected, allowing for a smoother development process.

**4. Class-Based Consumers:**

- Automatically register consumer classes defined in your app's consumers.py file.
- Handle different message types and actions using class methods.
- Supports handling multiple actions within a single consumer.

**5. Message Production:**

- Send messages to multiple RabbitMQ queues using an easy-to-use publish() function.
- Automatically handle model create, update, and delete events using specialized functions (on_model_create, on_model_update, on_model_delete).
- Decorator support for custom model update event handling (on_model_update).

**6. Consumer Decorator Support:**

- Register consumer methods with the on_consume decorator for specific action types.

**7. Customizable Producer:**

- Flexibility to produce messages with customizable actions and data for different queues.
- Multi-queue support to broadcast the same message to several queues simultaneously.

💡 Example Use Cases

- Automatically notify multiple services (e.g., products, inventory, and notifications) when a new user is created.
- Easily track model changes (create, update, delete) and broadcast these events to relevant RabbitMQ queues.

We look forward to seeing how you integrate ApexMQ into your Django projects! Stay tuned for more features and improvements in future releases.

1.0.0

We are excited to announce the first release of ApexMQ, a Django app that simplifies RabbitMQ integration by offering an intuitive and efficient interface for managing RabbitMQ connections, channels, queues, message production, and consumption.

This release brings the following key features:

🚀 New Features

**1. RabbitMQ Connection Management:**

- Easily establish and manage RabbitMQ connections with a flexible configuration system.

**2. Channel and Queue Management:**

- Seamlessly create and manage channels and queues within RabbitMQ through Django settings.

**3. Autoreload Support (DEBUG mode):**

- RabbitMQ connections are automatically reconfigured when code changes are detected, allowing for a smoother development process.

**4. Class-Based Consumers:**

- Automatically register consumer classes defined in your app's consumers.py file.
- Handle different message types and actions using class methods.
- Supports handling multiple actions within a single consumer.

**5. Message Production:**

- Send messages to multiple RabbitMQ queues using an easy-to-use publish() function.
- Automatically handle model create, update, and delete events using specialized functions (on_model_create, on_model_update, on_model_delete).
- Decorator support for custom model update event handling (on_model_update).

**6. Consumer Decorator Support:**

- Register consumer methods with the on_consume decorator for specific action types.

**7. Customizable Producer:**

- Flexibility to produce messages with customizable actions and data for different queues.
- Multi-queue support to broadcast the same message to several queues simultaneously.

💡 Example Use Cases

- Automatically notify multiple services (e.g., products, inventory, and notifications) when a new user is created.
- Easily track model changes (create, update, delete) and broadcast these events to relevant RabbitMQ queues.

We look forward to seeing how you integrate ApexMQ into your Django projects! Stay tuned for more features and improvements in future releases.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.