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 details)

Uploaded Source

File details

Details for the file django-y-message-1.0.0.tar.gz.

File metadata

  • Download URL: django-y-message-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for django-y-message-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6e38017814689df12bd7ee6cc3bf20ee6b95b6b7e1082ccce98ed648f0c5a44f
MD5 8b8ae8fcd1d3e1ace267d67d326e72af
BLAKE2b-256 da8daae79720af435031a77d2586e05907c79a03121eeb72441ace11305612ce

See more details on using hashes here.

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