Re: Slow failover from primary to backup server

2016-11-24 Thread JasonHs
Thanks Tim. I have since adjusted the connection TTL time cluster setting, and the failover seems to be faster now. However, as part of the failover testing, I'm still seeing at split brain scenario, where I manually block the 61616 port on the master server, and wait until backup becomes 'live'

Re: Statistics plugin is reporting averageMessageSize as 0

2016-11-24 Thread rth
Yes, it looks like a bug. The StatisticsBroker, on line 123, invokes stats.getMessageSize().getAveragePerSecond() instead of getAverageSize(). getAveragePerSecond divides 1000 by the result of getAverageSize(). So I have a topic with an actual averageMessageSize of 1242. The statistic plugin divid

Statistics plugin is reporting averageMessageSize as 0

2016-11-24 Thread rth
I'm using ActiveMQ 5.13.2 with the statistics plugin. On our working system, JMX is showing what I would expect to be the correct average message size on our topics and queues, but the statistics plugin is reporting 0. At first I thought I must have simply done something stupid when formatting out

Problem with user privileges an queues

2016-11-24 Thread phant
Hi, all! I need a help with configurate active MQ I install active MQ Create queue1 and queue2 the problem: 1 must create user1 and user2, but : user1 browse\send only queue1 and browse\receive only queue2 user2 browse\send anly queue2 and browse\receive only queue1 how do it? for best underste

Re: User privileges exception thrown from jaas / Authorization plugin format for jaas- artemis

2016-11-24 Thread anton.mithun
I already had the Authentication plugin in my broker.xml I thought JAAS would need a different authentication setup. All I had to do was to assign role during login. principals.add(new RolePrincipal("amq")); Than