Skip to main content

Ymessage is a Django app to implement **Transactional Outbox** pattern(https://microservices.io/patterns/data/transactional-outbox.html).

Project description

Purpose

Ymessage is a Django app to implement Transactional Outbox pattern (https://microservices.io/patterns/data/transactional-outbox.html).

Quick start

  1. Add “ymessage” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        "ymessage",
    ]
  2. Include the ymessage URLconf in your project urls.py like this:

    path("", include("ymessage.urls")),
  3. Run python manage.py migrate to create the ymessage models.

  4. Create a ymessage_handlers module in your app. See ymessage_example for ymessage’s usage.

5. POST http://127.0.0.1:8000/ymessage/default_message_handler/ to relay or process the message. 6.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-y-message-1.0.0.tar.gz (5.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page