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..

http://img41.imageshack.us/img41/9104/croppercapture52.jpg

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).

cluster + master slave


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -