EC2 and JDBC master-slave failover

2014-03-21 Thread Oleg Dulin
Dear Distinguished Colleagues: I need some sort of a redundancy mechanism, and need to brain storm. I am using AMQ 5.8, here is my problem. I wanted to set up RDS with multi-zone replication and use that as JDBC master-slave setup. Problem is -- AMQ performance is like 10 times slower using

Re: Setting redelivery properties on XaConnectionFactory

2014-03-21 Thread preben
I have tested with redelivery of -1 and 5 and it seems to work in my case. Im getting infinite with -1 and 1+5 with redelivery of 5. I seem to recall that redeliveryDelay is not respected, but I haven't tested it. Other than that I got issues as described here http://activemq.2283324.n4.nabble.co

Re: Setting redelivery properties on XaConnectionFactory

2014-03-21 Thread Richard Kettelerij
I wonder wether the RedeliveryPolicy on your XA ConnectionFactory works as expected considering https://issues.apache.org/jira/browse/AMQ-4367. On Thu, Mar 20, 2014 at 9:56 AM, preben wrote: > A follow up for others. > > It seems impossible to use the Activemq JCA adapter with ActivationSpecs >

Re: ActiveMQ 5.8 FailoverTransport - Invalid connect parameters

2014-03-21 Thread Gary Tully
thanks for closing the loop on this - for sure it is non obvious On 20 March 2014 20:05, gilesD wrote: > "failover://(tcp://myhost:61616)?initialReconnectDelay=100 > Caused by: java.lang.IllegalArgumentException: Invalid connect parameters: > {initialReconnectDelay=100} " > > I had a similar issu

Re: ActiveMQ 5.8 FailoverTransport - Invalid connect parameters

2014-03-21 Thread gilesD
"failover://(tcp://myhost:61616)?initialReconnectDelay=100 Caused by: java.lang.IllegalArgumentException: Invalid connect parameters: {initialReconnectDelay=100} " I had a similar issue, the URI is perfectly valid, after looking into the activemq source I found that when it was trying to set the

Re: Unable to find the REST API

2014-03-21 Thread Dejan Bosanac
Hi Jeremy, /api/message should be there. At least it is when I'm starting it here. Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twitter: @dejanb Blog: http://sensatic.net ActiveMQ in Action: http://www.manning.com/snyder/ On

Re: memoryLimit behavior (5.5.1)

2014-03-21 Thread Gary Tully
You need to change cursorMemoryHighWaterMark from the default 70% to 100% to ensure you reach your memory limit. the file cursor will spool to disk when cursorMemoryHighWaterMark is reached, so you won't reach the memory limit. the (default) store cursor will stop caching at that value, so you wo

Is Apollo 1.7 compatible with Jetty 9

2014-03-21 Thread Brian Reinhold
I had to get a special branch of apollo 1.6 to run with Jetty 9. I am wondering if I dare to download version 1.7. If not, is there a branch of 1.7 that IS compatible with Jetty 9? Thanks! Brian -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-Apollo-1-7-compatible-wi

PooledConnectionFactory.stop causes org.apache.activemq.TransactionContext to be declared unhealthy

2014-03-21 Thread preben
Hi I'm working on a poc to where we want to use Activemq as our messagebroker and Camel as routing engine deployed as war's in Weblogic. Currently i'm trying integration options with our Weblogic Application server and JTA using XA since we need it in senarius with different db integrations. The

Re: prefetch size in broker config (activemq.xml)

2014-03-21 Thread Gary Tully
That is the intent. Should be easy to unit test. check the source for inspiration On 21 Mar 2014 07:36, "vlaxmi" wrote: > "the broker entries are overrides for the default values. so if the > client does not specify a value it will have the default and then the > broker policy will override that.

Re: prefetch size in broker config (activemq.xml)

2014-03-21 Thread vlaxmi
"the broker entries are overrides for the default values. so if the client does not specify a value it will have the default and then the broker policy will override that. " -- If the broker config (activemq.xml) has the topicPrefetch set to 500 and if the client does not specify a value - then it