Questions tagged [stomp.py]

Stomp.py is a Python library for STOMP Protocol

Stomp.py providing access to a message broker using the STOMP protocol either programmatically or using a command line client.

23 questions
0
votes
1 answer

AWS ActiveMQ fetch messages from a Consumer and send to a queue

I am trying to fetch messages from a consumer and send it to a queue. For this I am using Stomp.py After going through articles and posts, I wrote below code: import ssl import stomp stompurl = "xxxxxxxx.mq.us-west-2.amazonaws.com" stompuser =…
CK__
  • 1,252
  • 1
  • 11
  • 25
0
votes
1 answer

Message count is not zero even after all messages are consumed and acknowledged

We have containerized ActiveMQ Artemis 2.16.0 and deployed it as a K8s deployment for KEDA. We use STOMP using stomp.py python module. The ACK-mode is set as client-individual and consumerWindowSize = 0 on the connection. We are promptly…
Amit
  • 496
  • 7
  • 11
0
votes
1 answer

Python stomp.py connection gets disconnected and listener stops working

I am writing a python script using the python stomp library to connect and subscribe to an ActiveMQ message queue. My code is very similar to the examples in the documentation "Dealing with disconnects" with the addition of the timer being placed in…
pengz
  • 2,279
  • 3
  • 48
  • 91
0
votes
2 answers

ActiveMQ: Cant enable SSL over Stomp

I'm a new ActiveMQ user trying to enable SSL over Stomp with ActiveMQ. Previously I've enabled SSL over openwire for a CMS and I've tried to use both the certificate setup for the CMS and a new one for Stomp. Here is my certificate setup Creating…
0
votes
1 answer

Placing stomp.py consumer/producer inside Flask-Gunicorn python application

I have an existing flask application (having a bunch of REST apis) which is hosted by Gunicorn. I also have to send and receive messages from AmazonMQ in the same application. I have functions using stomp.py to send/receive messages from AmazonMQ,…
Arindam
  • 1
  • 1
0
votes
1 answer

Don't let stomp.py delete packet from ActiveMQ untill the whole packet is processed

I am trying to get message from activemq using stomp.py and then doing some processing on it. But there is a case when that processing fails for certain messages and that message is lost. How can I prevent the deletion of message untill the message…
unnobtainium
  • 528
  • 1
  • 5
  • 15
0
votes
1 answer

Protocol error on trying to connect using STOMP.py

In my current situation I am using the stomp.py library (http://jasonrbriggs.github.io/stomp.py/stomp.html#module-stomp.connect) to connect to an ActiveMQ instance on another server. I am on python 2.7 and the connection works just fine when no SSL…
JustLudo
  • 1,690
  • 12
  • 29
0
votes
1 answer

Stomp.py send with custom headers fails

I'm currently pushing messages from a custom system via the python Stomp.py library to an ActiveMQ instance. This fails when I provide a dictionary with custom headers as the "headers" parameter in the send command. destination =…
JustLudo
  • 1,690
  • 12
  • 29
1
2