Re: Client consumer exception and disconnection

2012-04-07 Thread Timothy Bish
On Sat, 2012-04-07 at 13:01 -0600, Chris Robison wrote: > Sorry, that was really badly written. Is the .NET client library supposed > to be able to reconnect itself with the ActiveMQ broker or is that > something I have to catch and do myself? in order to have the client handle connection errors

Re: Client consumer exception and disconnection

2012-04-07 Thread Chris Robison
Sorry, that was really badly written. Is the .NET client library supposed to be able to reconnect itself with the ActiveMQ broker or is that something I have to catch and do myself? On Sat, Apr 7, 2012 at 1:00 PM, Chris Robison wrote: > Is the .NET client library reconnect itself so is that somet

Re: Client consumer exception and disconnection

2012-04-07 Thread Chris Robison
Is the .NET client library reconnect itself so is that something I have to catch and do? On Sat, Apr 7, 2012 at 12:37 PM, Chris Robison wrote: > I'm assuming you mean set it on the connection factory. I've tried that, > but no go. The only way I've found to recover from this is to delete the > Ka

ActiveMQ on two (or more) servers, automatic failover

2012-04-07 Thread Thanny
I will soon be replicating everything running on one web server to another, and using a pair of LVS machines to perform automatic failover. ActiveMQ is being used to handle order completion messages, which end up going out through web services, e-mail, and even just writing files to a network file

Re: Client consumer exception and disconnection

2012-04-07 Thread Chris Robison
I'm assuming you mean set it on the connection factory. I've tried that, but no go. The only way I've found to recover from this is to delete the KahaDB on the activemq server and restart all services. On Sat, Apr 7, 2012 at 11:59 AM, Timothy Bish wrote: > On Sat, 2012-04-07 at 11:56 -0600, Chri

Re: Client consumer exception and disconnection

2012-04-07 Thread Timothy Bish
On Sat, 2012-04-07 at 11:56 -0600, Chris Robison wrote: > I'm running into an interesting issue. I have a client connecting to an > activemq server, trying to consume messages and reply to a temporary > destination set. The ActiveMQ server debug is showing the following: > > 2012-04-07 13:20:25,7

Re: python library?

2012-04-07 Thread Darren Govoni
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 it. 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

Re: python library?

2012-04-07 Thread Luis Cañas Díaz
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 s

Re: python library?

2012-04-07 Thread Darren Govoni
Can you be more specific? What is not working well, and so on 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 communi

python library?

2012-04-07 Thread Luis Cañas Díaz
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