Skip to main content

Python STOMP client, supporting versions 1.0, 1.1 and 1.2 of the protocol

Project description

PyPI version Build Status

“stomp.py” is a Python client library for accessing messaging servers (such as ActiveMQ, Apollo or RabbitMQ) using the STOMP protocol (STOMP v1.0, STOMP v1.1 and STOMP v1.2). It can also be run as a standalone, command-line client for testing.

NOTE: Stomp.py is officially ending support for Python2.x by Jan 2020. See python3statement.org for more information.

Quick Start

You can connect to a message broker running on the local machine, and send a message using the following example.

import stomp

conn = stomp.Connection()
conn.set_listener('', MyListener())
conn.start()
conn.connect('admin', 'password', wait=True)
conn.send(body=' '.join(sys.argv[1:]), destination='/queue/test')
conn.disconnect()

Various documentation and resources include:

Current version supports:

  • Python 2.x and 3.x

  • STOMP version 1.0, 1.1 and 1.2

There is also legacy 3.1.7 version using the old 3-series code (see 3.1.7 on PyPi and 3.1.7 on GitHub).

stomp.py has been perfunctorily tested on:

stomp.py has been reported to work with JBossMessaging in the distant past.

For more info on setting up a test server (using virtualbox), contact the developer.

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

stomp.py-4.1.21.tar.gz (49.2 kB view details)

Uploaded Source

Built Distribution

stomp.py-4.1.21-py3.6.egg (80.1 kB view details)

Uploaded Source

File details

Details for the file stomp.py-4.1.21.tar.gz.

File metadata

  • Download URL: stomp.py-4.1.21.tar.gz
  • Upload date:
  • Size: 49.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stomp.py-4.1.21.tar.gz
Algorithm Hash digest
SHA256 0b06828a281ebf288f0b0b4152d29c73d440408161e0265b677e6382ad3aa9e3
MD5 89f43595fdf6e951727a19b2d26c2e33
BLAKE2b-256 44eb4c66c2d91dd10a99650fd679206632ca0190d482982063975abfc5dc83f4

See more details on using hashes here.

Provenance

File details

Details for the file stomp.py-4.1.21-py3.6.egg.

File metadata

File hashes

Hashes for stomp.py-4.1.21-py3.6.egg
Algorithm Hash digest
SHA256 c1735531a985f4ccd33dcccb560d2904289a499da3a5e6084982184f7bafdf7c
MD5 c3e9a48acf6e686427a0a7a8b35e9be7
BLAKE2b-256 29379a634fe64f52e6258815f5867286a99d64f3f435ed12a59fb2f6b0fe610e

See more details on using hashes here.

Provenance

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