Re: ACTIVEMQ-CPP. Which broker is chosen in a failover URI.

2011-03-11 Thread Henrique Magarotto
Try "randomize" option: ipbroker="failover://(tcp://localhost:61616,tcp://sig-hormes10:61616)?randomize=false" regards Henrique 2011/3/11 Oscar Pernas > > I have an URI like this: > > ipbroker="failover://(tcp://localhost:61616,tcp://sig-hormes10:61616)" > > Sometimes when I start the applicatio

Re: AMQCPP: unexpected exception

2011-03-04 Thread Henrique Magarotto
Hi Tim and Oscar, thanks for your attention, So, in my case i got frozen in a commit attempt. But really, testing without transaction and MessageListener i got frozen in consumer destructor too. Maybe it's the same reason for both cases. I tested with several configurations to try avoid freezes fo

Re: AMQCPP: unexpected exception

2011-03-01 Thread Henrique Magarotto
Thanks for reply! issue opened: https://issues.apache.org/jira/browse/AMQCPP-354 Regards Henrique 2011/3/1 Timothy Bish : > On Tue, 2011-03-01 at 20:22 -0300, Henrique Magarotto wrote: >> Hi everybody, >> >> First, sorry for long mail and thanks for great job in ActiveM

AMQCPP: unexpected exception

2011-03-01 Thread Henrique Magarotto
Hi everybody, First, sorry for long mail and thanks for great job in ActiveMQ and ActiveMQ-CPP. I'm testing some failure cases with ActiveMQ and ActiveMQ-CPP. In my test, an unexpected exception is thrown if broker is stopped while consumer is in transaction. Environment: ActiveMQ 5.4.2 ActiveM