You need to configure separate queue names for each sub-domain. For details on the
prompts and settings for ActiveMQ configuration, see the discussion
about ActiveMQ Gateway Configuration. This example lists sample
ActiveMQ settings for a topology that includes:
- Two DR (Disaster
Recovery) sites (the configuration is for one of the DR
sites, but the configuration for the second DR site would be
nearly identical).
- Two sub-domains for
each site domain.
- Two engines for
each sub-domain (total of 4 engines).
- An ActiveMQ server
for each site.
MATRIXX Engines 1 and 2 are for sub-domain 1, whereas MATRIXX Engines 3 and 4 are for sub-domain 2.
## AMQ Topology - Each subdomain has 1 pair of queues.
## Group 1 and 2 for sub-domain 1 site preference and HA/DR
## Group 3 and 4 for sub-domain 2 site preference and HA/DR
ActiveMQ Gateway:Do you want to enable the ActiveMQ Gateway (y/n)?y (The default is n.)
ActiveMQ Gateway:What are your ActiveMQ group IDs?1;2;3;4 (The default is primary.)
ActiveMQ Gateway:ActiveMQ Group 1:How many ActiveMQ brokers are in this group?1 (This is the default.)
ActiveMQ Gateway:ActiveMQ Group 1:Broker 1:What is the ActiveMQ broker URI?failover://(tcp://10.0.5.24:61616,tcp://10.0.5.25:61616)?nested.wireFormat=openwire?timeout=1000
(The default is failover://(tcp://127.0.0.1:61616?wireFormat=openwire?timeout=1000.)
ActiveMQ Gateway:ActiveMQ Group 1:Broker 1:Session 1:What are your message handler IDs?notification (The default is payments;notification.)
ActiveMQ Gateway:ActiveMQ Group 1:Broker 1:Session 1:MessageHandler notification:What is the producer's type?queue(This is the default.)
ActiveMQ Gateway:ActiveMQ Group 1:Broker 1:Session 1:MessageHandler notification:What is the producer's name?fromEngineProducer_1
(The default is based upon the handler name in the question and Producer Name Based on Handler Name. If the handler name is not in this table, then "fromEngineProducer" is used.)
ActiveMQ Gateway:ActiveMQ Group 1:Broker 1:Session 1:MessageHandler notification:What is the consumer's type?queue (This is the default.)
ActiveMQ Gateway:ActiveMQ Group 1:Broker 1:Session 1:MessageHandler notification:What is the consumer's name?fromEngineConsumer_1
(The default is based upon the handler name in the question and Consumer Name Based on Handler Name. If the handler name is not in this table, then "fromEngineConsumer" is used.)
ActiveMQ Gateway:ActiveMQ Group 2:How many ActiveMQ brokers are in this group?1
ActiveMQ Gateway:ActiveMQ Group 2:Broker 1:What is the ActiveMQ broker URI?failover://(tcp://10.0.5.25:61616,tcp://10.0.5.24:61616)?nested.wireFormat=openwire?timeout=1000
ActiveMQ Gateway:ActiveMQ Group 2:Broker 1:Session 1:What are your message handler IDs?notification
ActiveMQ Gateway:ActiveMQ Group 2:Broker 1:Session 1:MessageHandler notification:What is the producer's type?queue
ActiveMQ Gateway:ActiveMQ Group 2:Broker 1:Session 1:MessageHandler notification:What is the producer's name?fromEngineProducer_1
ActiveMQ Gateway:ActiveMQ Group 2:Broker 1:Session 1:MessageHandler notification:What is the consumer's type?queue
ActiveMQ Gateway:ActiveMQ Group 2:Broker 1:Session 1:MessageHandler notification:What is the consumer's name?fromEngineConsumer_1
ActiveMQ Gateway:ActiveMQ Group 3:How many ActiveMQ brokers are in this group?1
ActiveMQ Gateway:ActiveMQ Group 3:Broker 1:What is the ActiveMQ broker URI?failover://(tcp://10.0.5.24:61616,tcp://10.0.5.25:61616)?nested.wireFormat=openwire?timeout=1000
ActiveMQ Gateway:ActiveMQ Group 3:Broker 1:Session 1:What are your message handler IDs?notification
ActiveMQ Gateway:ActiveMQ Group 3:Broker 1:Session 1:MessageHandler notification:What is the producer's type?queue
ActiveMQ Gateway:ActiveMQ Group 3:Broker 1:Session 1:MessageHandler notification:What is the producer's name?fromEngineProducer_2
ActiveMQ Gateway:ActiveMQ Group 3:Broker 1:Session 1:MessageHandler notification:What is the consumer's type?queue
ActiveMQ Gateway:ActiveMQ Group 3:Broker 1:Session 1:MessageHandler notification:What is the consumer's name?fromEngineConsumer_2
ActiveMQ Gateway:ActiveMQ Group 4:How many ActiveMQ brokers are in this group?1
ActiveMQ Gateway:ActiveMQ Group 4:Broker 1:What is the ActiveMQ broker URI?failover://(tcp://10.0.5.25:61616,tcp://10.0.5.24:61616)?nested.wireFormat=openwire?timeout=1000
ActiveMQ Gateway:ActiveMQ Group 4:Broker 1:Session 1:What are your message handler IDs?notification
ActiveMQ Gateway:ActiveMQ Group 4:Broker 1:Session 1:MessageHandler notification:What is the producer's type?queue
ActiveMQ Gateway:ActiveMQ Group 4:Broker 1:Session 1:MessageHandler notification:What is the producer's name?fromEngineProducer_2
ActiveMQ Gateway:ActiveMQ Group 4:Broker 1:Session 1:MessageHandler notification:What is the consumer's type?queue
ActiveMQ Gateway:ActiveMQ Group 4:Broker 1:Session 1:MessageHandler notification:What is the consumer's name?fromEngineConsumer_2
ActiveMQ Gateway:Engine 1:What ActiveMQ group ID does this engine use?1 (The default is the first group ID. If only one group ID exists, then this question is not asked.)
ActiveMQ Gateway:Engine 2:What ActiveMQ group ID does this engine use?2
ActiveMQ Gateway:Engine 3:What ActiveMQ group ID does this engine use?3
ActiveMQ Gateway:Engine 4:What ActiveMQ group ID does this engine use?4
ActiveMQ Gateway:How long (in seconds) should elapse before retrying a failed ActiveMQ initialization?5 (This is the default.)
|