ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
>
>
> On Wed, Apr 14, 2010 at 5:31 PM, icfantv
> wrote:
>
>>
>> That's a neat idea, but unfortunately for us it does not appear that
>> Postgresql supports a failover
That's a neat idea, but unfortunately for us it does not appear that
Postgresql supports a failover parameter in the connection URL.
Additionally, even if it did, it would depend on how it handled the failover
so as to not cause ActiveMQ to puke.
We use a floating IP address to point to the "pri
We learned the hard way that using ActiveMQ with a database store doesn't
play nicely with vacuums in that ActiveMQ uses open transactions to "lock"
the relevant tables so secondary ActiveMQ servers wait to take over should
the primary ActiveMQ server fail. The open transaction causes vacuums to
We're running activeMQ in a master/slave configuration with a JDBC data store
and two brokers in a failover configuration. According to the logs,
everything is happy.
The behavior we're seeing is that, in testing, when we kill the master the
slave takes over (as designed, and the log file shows
This may be due to our design and if so we can tweak to accommodate the
"right" way to solve this problem.
We have a web application that produces messages and throws them on a queue.
We have a non-web application that runs (from the command line) that
connects to this queue and processes the me
andle
connection failures - at least on the code side of things.
--adam
bsnyder wrote:
>
> On Fri, Jan 16, 2009 at 8:27 AM, icfantv
> wrote:
>
> Just to make sure I understand what you're asking, you don't want the
> client thread that's trying to connect to th
URL of
tcp://localhost:61616 is actually failover://tcp://localhost:61616.
It's not obvious to me yet what the significance of the failover protocol
actually means, but I'm still digging.
icfantv wrote:
>
> Hi-
>
> Did a cursory search but didn't find anything related t
plement some type of time out
mechanism on the connection.
--adam
bsnyder wrote:
>
> On Thu, Jan 15, 2009 at 5:31 PM, icfantv
> wrote:
>>
>> Hi-
>>
>> Did a cursory search but didn't find anything related to this so I
>> apologize
>> in advance
Hi-
Did a cursory search but didn't find anything related to this so I apologize
in advance if it's been asked and answered - I didn't see it.
Is there a way to set a connection timeout on the connection factory class
such that the thread doesn't block until a connection is successfully made?
I