Problem upgrading from 5.5.1 to 5.6.0

2012-07-27 Thread Guerrero
After hitting a problem with a network of brokers (see this thread), I discovered the 5.6.0 release of ActiveMQ. With the new release, I cannot seem to connect more than a single client to a

Re: Wildcards may block a prefix in a network of brokers.

2012-07-27 Thread Guerrero
> With this default behaviour, N subscriptions on a remote broker look like > a single subscription to the networked broker. > This is something we desire. For instance, A.appId is the central broker, and A.B.appId, A.B.C.appId, and A.B.D.appId are all connected to A.appId. When A.B.D.appId se

ActiveMQ 5.5.1 Java API Reset Statistic reset everything

2012-07-27 Thread nicolas.guyomar
Hello everyone, I have a simple question, this might not be a bug but a clarification on your API : I'm using org.apache.activemq.broker.jmx.DestinationView.resetStatistics() to reset statistics I get from the JMX Java API, but I was expected that only the "statistic numbers" would be reseted, a

Re: PooledConnectionFactory + Failover Transport combination

2012-07-27 Thread Gaurav Sharma
Thanks again for your help. On Fri, Jul 27, 2012 at 3:42 AM, Dejan Bosanac wrote: > Yeah, i think that's about right. > > Regards > -- > Dejan Bosanac > Senior Software Engineer | FuseSource Corp. > dej...@fusesource.com | fusesource.com > skype: dejan.bosanac | twitter: @dejanb > blog: http://w

Re: PooledConnectionFactory + Failover Transport combination

2012-07-27 Thread Dejan Bosanac
Yeah, i think that's about right. Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | twitter: @dejanb blog: http://www.nighttale.net ActiveMQ in Action: http://www.manning.com/snyder/ On Fri, Jul 27, 2012 at 12:26 P

Re: PooledConnectionFactory + Failover Transport combination

2012-07-27 Thread Gaurav Sharma
Dejan - thanks for the detailed explanation. Based on this, I went back and figured the folly.. I misread the maximumActive to mean the connection limit rather than the session-count per connection. My bad. I am upping the maxConnections now. Also, based on your tweaks in 5.7 (thanks for the excell

Re: PooledConnectionFactory + Failover Transport combination

2012-07-27 Thread Dejan Bosanac
Hi, the pooled connection factory will try to create maxConnections (default 1) and then reuse them from the pool. The process of connections creating (failover and randomize) is not related to the pool at all. With failover in case, the client (and the pool) will not even see host1 connection pro

Re: Wildcards may block a prefix in a network of brokers.

2012-07-27 Thread Dejan Bosanac
Maybe you can turning off conduit subscriptions http://activemq.apache.org/networks-of-brokers.html#NetworksofBrokers-WhentouseandnotuseConduitsubscriptions Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | twitter:

Re: AMQ 5.6 breaks Stomp 1.0 clients, was: Re: 5.5 to 5.6 upgrade, stomp client suddenly gets "User name [ xyz] or password is invalid."

2012-07-27 Thread Dejan Bosanac
I just tested latest php client git clone git://github.com/dejanb/stomp-php.git with 5.7-SNAPSHOT If you start broker with bin/activemq console xbean:conf/activemq-stomp.xml and then that example cd stomp-php/src/examples php transformation.php I get Sending array: Array ( [city] => Be