Skip to main content

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

  1. 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')
  1. Connect to ActiveMQ service.connect()

  2. Send a message service.send_message('Hello, World!')

  3. Receive messages service.receive_message() # This will start listening for incoming messages

  4. Disconnect from ActiveMQ service.disconnect()

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

mqueueservice-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

mqueueservice-0.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

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

Hashes for mqueueservice-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8a0a5da02ea912f4fe8783890dc73e1de0afe6d975a9a71e899b065456d85de3
MD5 689a71ca1c8d5e0ceef30adf986497af
BLAKE2b-256 2b65c7015ecbedbf895eb37e1271b8aee9b50519d5bb1234d4742c6b3956ac37

See more details on using hashes here.

File details

Details for the file mqueueservice-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mqueueservice-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0d06c418d220bcc99a2e4b9d5f569da96189ebc808a26bcbfd61374f607c8eb
MD5 51847e393a48823a034888ecb2d11e34
BLAKE2b-256 5fe4819b814e5a42633641eac2742b3ba96913e39f0f81c69e0c9c473438e541

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