Skip to main content

Plastron STOMP daemon

Project description

plastron-stomp

STOMP listener client for asynchronous and synchronous operations

Running with Python

As a Python module:

python -m plastron.stomp.daemon -c <config file>

Using the console script entrypoint:

plastrond-stomp -c <config file>

Integration Tests

See the integration test README for instructions on running the manual integration tests.

Docker Image

The plastron-stomp package contains a Dockerfile for building the plastrond-stomp Docker image.

Building

Important: This image MUST be built from the main plastron project directory, in order to include the other plastron packages in the build context.

docker build -t docker.lib.umd.edu/plastrond-stomp:latest \
    -f plastron-stomp/Dockerfile .

STOMP Message Headers

The Plastron Daemon expects the following headers to be present in messages received on the JOBS destination:

  • PlastronCommand
  • PlastronJobId

Additional arguments for a command are sent in headers with the form PlastronArg-{name}. Many of these are specific to the command, but there is one with standard behavior across all commands:

Header Description
PlastronArg-on-behalf-of Username to delegate repository operations to

See the messages documentation for details on the headers and bodies of the messages the Plastron STOMP Daemon emits.

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

plastron_stomp-4.6.2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plastron_stomp-4.6.2-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file plastron_stomp-4.6.2.tar.gz.

File metadata

  • Download URL: plastron_stomp-4.6.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for plastron_stomp-4.6.2.tar.gz
Algorithm Hash digest
SHA256 fa93ee0eb09c0dee3436199941cb97917f6b2f54f1bdd996553d022ea4d15cbc
MD5 cd2ba9b1777098a6f06e41814e154863
BLAKE2b-256 c8dfa9520e3270ff9ee4b7304b356a644ecfcff8b7ee3040effc3b617b27a6a0

See more details on using hashes here.

File details

Details for the file plastron_stomp-4.6.2-py3-none-any.whl.

File metadata

  • Download URL: plastron_stomp-4.6.2-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for plastron_stomp-4.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 19be9cc79b713cab002e6b20ed352ea0e467f8745aba694a524f59c87d81bfa1
MD5 d1f956e629c1a3c4d488b641b7875597
BLAKE2b-256 9acda58a23836b488038e8fe671f1fb210d08ae7e2931727731e45c1e6681850

See more details on using hashes here.

Supported by

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