Re:Re: Re:Re: ActiveMQ Master/slave with MySQLCluster backend

2013-03-28 Thread SuoNayi
Paul is right and you should use the JDBCIOExceptionHandler instead of the default one.Does it because the majority of the members of MySql cluster are failed so the database failover can not work as expected?Can you post the detailed exception stack? At 2013-03-29 00:48:28,"Paul Gale" wrote:

Re: Re:Re: ActiveMQ Master/slave with MySQLCluster backend

2013-03-28 Thread Paul Gale
Hi Ali, Are you using the JDBCIOExceptionHandler with your broker? That _should_ help. By default a broker is assigned the DefaultIOExceptionHandler to handle exceptions. You should probably change it out to use the JDBCIOExceptionHandler instead as mentioned here: http://activemq.apache.org/conf

Re: AMQ_SCHEDULER_ACTION_BROWSE returns incomplete list

2013-03-28 Thread Timothy Bish
On 03/28/2013 11:36 AM, Christian Posta wrote: Yah, unless Tim or Gary know off hand why this is, I would say open a JIRA. I am not seeing any logic in the code that would filter out messages for a browse based on TTL. It would be great if you could throw together a little unit test that shows t

Re: AMQ_SCHEDULER_ACTION_BROWSE returns incomplete list

2013-03-28 Thread Christian Posta
Yah, unless Tim or Gary know off hand why this is, I would say open a JIRA. I am not seeing any logic in the code that would filter out messages for a browse based on TTL. It would be great if you could throw together a little unit test that shows this and I can take a closer look. Take a look at

Re: Re:Re: ActiveMQ Master/slave with MySQLCluster backend

2013-03-28 Thread schweet
Hi; Yes, I am having to use the lease DB feature. No other way round it. I have found other problems with the version of activemq that I'm running. 5.7 has issues with Failover. For example, if

Broker already connected

2013-03-28 Thread mark.waltje
Hey, Upon checking the logging from time to time I encounter the following warning: Our clients (two Mule ESB flows) sometimes also crash saying that ActiveMQ hasn't responded for more then 3ms. I already put maxInactivityDuration on 0. How can we resolve this? Is it a Mule error or is it a

Re: AMQ_SCHEDULER_ACTION_BROWSE returns incomplete list

2013-03-28 Thread jliezers
I can confirm that the deafult 3 hour expiration (timeToLive) value applied to all messages by my template was causing the problem. If I override and set expiration = 0 for the scheduled messages then they are browsable. Is there a JIRA required here? Should ActiveMQ schedule browse action disr

Cometd vs ActiveMQ for server side push for real time web applications

2013-03-28 Thread xbhanu
We have requirement to develop server side push infra for real time web applications. For this, I have been considering using Cometd since this supports both long polling as well as web sockets based implementation. However, I recently came across links like http://activemq.apache.org/ajax.html an