diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-28 16:49:32 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-28 16:49:32 -0800 |
commit | 155a5d446f96651abf3eb62f9b5748e4bdfa0a76 (patch) | |
tree | e32f725f8375183b56b17bf905bb9ed2398adf24 /local/.gitignore | |
parent | d00ce3854932820cbdb906404d248800c400cbca (diff) |
Manual failover for stomp queues.
If an array of multiple servers is put in $config['queue']['stomp_server'], enqueues will pick a random server to send to (failing over automatically if any are down).
Queue handling daemons connect all servers so they get events no matter where they were delivered.
In case of disconnection, daemons should now handle it gracefully and attempt to reconnect every 60 seconds or so, automatically resubscribing to all queues once it's back up.
Can put to 'native' failover for reads as well by disabling $config['stomp']['manual_failover'] = false; but this is untested and may explode in addition to requiring that your ActiveMQ cluster actually be set up to handle its own data distribution.
Additionally, can choose which queues to mark as persistent by setting $config['stomp']['persistent'] to an array of queue names.
Diffstat (limited to 'local/.gitignore')
0 files changed, 0 insertions, 0 deletions