activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darren Govoni <>
Subject Re: python library?
Date Sat, 07 Apr 2012 14:49:40 GMT
To be honest, I tried all those python libraries as well, but
activemq gets into "hung" states for various reasons so I had to abandon

I saw situations where sometimes clients stop receiving messages for no
reason. They need restart, etc. I think its because activemq is a
"stateful" connection-oriented broker. I ended up writing a "stateless"
queue server based on HTTP/REST. Works better for me. Scales better.

I tried the stomp client as well. Had similar problems. Worked for small
data and throughput. High throughput over long time, it hangs. Maybe
recent ActiveMQ servers are better, but I think the scaling issues still
linger from the message traffic I see on the list.

Your mileage may vary though.

On Sat, 2012-04-07 at 16:45 +0200, Luis Cañas Díaz wrote:
> On 07/04/12 16:18, Darren Govoni wrote:
> > Can you be more specific? What is not working well, and so on....
> Yeah, sorry :)
> I decided to use pyactivemq[0] because the API was really simple. The 
> strange behaviour I see is that the subscriber doesn't receive messages 
> if it was idle more than 60 seconds (approximately). I mean, I can 
> receive messages without problem, but I create a subscriber and it needs 
> to be listening for more than a minute without reading messages it gets 
> frozen :(
> The pyactivemq uses an old version of activemq-cpp (3.0.1) and the code 
> itself was released in 2008. I'm using as a bus the version 5.5.1.
> I wonder if any of you is using a different Python library. I've seen 
> that it is recommended the "Python Stomp Client", but I miss some 
> examples to deal with ActiveMQ.
> Best,
> Luis.
> [0]
> >
> > On Sat, 2012-04-07 at 16:16 +0200, Luis Cañas Díaz wrote:
> >> Hi there,
> >> I've been using the Python library pyactivemq during a few days but it
> >> is not working as well as I expect. Is any of you using a Python library
> >> to communicate with activemq? Any recommendation would be perfect .. Now
> >> I'm even thinking about using Java and connect it to my Python code
> >>
> >> Thanks in advance,
> >> Luis.
> >>
> >
> >

View raw message