A free queue service using ActiveMQ
Project description
activeMqServices
To build a free queue service in Python using ActiveMQ and package it as a reusable package.
requirements
For running this, you need to have python3
installed on your system.
Installation
pip install mqueueservice==0.0.1
Example
from queueService.queueService import QueueService
#Create an instance of the QueueService class
service = QueueService(host='localhost', port=61613, username='your_username', password='your_password', destination='/queue/test')
service.connect() #Connect to ActiveMQ
service.send_message('Hello, World Mr Shrijeet!') # Send a message
msg=service.receive_message() # This will start listening for incoming messages# Receive messages
service.disconnect() # Disconnect from ActiveMQ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mqueueservice-0.0.2.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file mqueueservice-0.0.2.tar.gz
.
File metadata
- Download URL: mqueueservice-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 158f46de96c9dbd929197d8048cdc337110448111f945989eff9ff42c72884d7 |
|
MD5 | 2cc3520fc395ddcb7de0602133046f59 |
|
BLAKE2b-256 | 0dacfd16999406595ea606da69372d47f8b0a9560a24ce4d38606c84ef44504a |
Provenance
File details
Details for the file mqueueservice-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: mqueueservice-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a070f32e32f0d6ef45c04debb254d1cae104e7ad533a1d8a72409644c4178230 |
|
MD5 | 7be84c2e0853fbf77ea17f2f83090016 |
|
BLAKE2b-256 | 8a26dcf61315940e582a482cd14fcbb38bfeda29e145bff9ca5bc6d46fbb6bfb |