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
Download the tar file from the below link:
https://github.com/Soniyasharma6868/queueServicePkg.git
pip install queue-service-1.0.0.tar.gz
Example
- Queue Service Configuration
from pyqservice.queue_service import QueueService
* Create an instance of the QueueService class
service = QueueService(host='localhost', port=61613, username='admin', password='admin', destination='/queue/test')
-
Connect to ActiveMQ service.connect()
-
Send a message service.send_message('Hello, World!')
-
Receive messages service.receive_message() # This will start listening for incoming messages
-
Disconnect from ActiveMQ service.disconnect()
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.1.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file mqueueservice-0.0.1.tar.gz
.
File metadata
- Download URL: mqueueservice-0.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0a5da02ea912f4fe8783890dc73e1de0afe6d975a9a71e899b065456d85de3 |
|
MD5 | 689a71ca1c8d5e0ceef30adf986497af |
|
BLAKE2b-256 | 2b65c7015ecbedbf895eb37e1271b8aee9b50519d5bb1234d4742c6b3956ac37 |
File details
Details for the file mqueueservice-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: mqueueservice-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 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 | b0d06c418d220bcc99a2e4b9d5f569da96189ebc808a26bcbfd61374f607c8eb |
|
MD5 | 51847e393a48823a034888ecb2d11e34 |
|
BLAKE2b-256 | 5fe4819b814e5a42633641eac2742b3ba96913e39f0f81c69e0c9c473438e541 |