activemq - how can the broker get the message from jdbc persistent storage? -
i want ask feasibility actimvemq's configuration. have guarantee 4 contidions.
1) each producer, consumer , broker in 1 server loaded on same 1 jvm.
2) each producer in 1 server have deliver messages consumer of same server.
3) if 1 of servers killed , remained messages in server, want other server's broker messages of killed node , execute instead of killed node. message in jdbc database store.
could recommmand alternative way or elborate explanation implementation?
i'm new activemq , it's urgent. me. in advance..
the dilemma want have active-active setup (cluster assume) want fail on inside cluster.
you can't active nodes picking failed brokers db , continue there. can create additional setup of brokers on each machine, acting slaves first ones.
look @ docs http://activemq.apache.org/masterslave.html
then each machine has fail on machine. way no message stranded (assuming 1 machine failing). won't cost more bit of ram keep slave idle. however, solution kinda complex host , maint on time.
i don't think need on client side connect local broker (if server down, producer/consumer).
Comments
Post a Comment