Clustered EventBus using JMS ActiveMQ

Hi,
I have fair understanding of DDD and liked Axon framework, but I am very new to this framework.
I am looking for a working examples for:

  1. Clustered eventbus using JMS. I did read through the post https://groups.google.com/forum/#!msg/axonframework/N448hlr4ZsE/mBBSDBZEAXsJ but did not understand it fully. Has someone successfully configured EventBusTerminal for JMS (ActiveMQ)
  2. Since events can be distributed what is the need of distributed command bus? load balancing?
  3. Is there an example of Clustered Eventbus and Distributed Command bus in a single project?

-SK

Hi,

  1. I haven’t used Axon in combination with JMS myself. I am more a fan of AMQP, as it relies less on the JVM. AMQP is more interoperable.

  2. Distribution of commands are completely unrelated to distribution of events. The Distributed Command Bus can be used for loadbalancing, but also for using connecting multiple components to eachother, using a single (logical) command bus. That way, it doesn’t really matter whether another component is deployed in the same JVM, or on a completely different machine. Distributing events is needed when other nodes need to be able to read the events produced by any of your command handling nodes.

3.Since they’re two pieces of distinct configuration, you can just configure both in your application. There shouldn’t be anything special about this.

Cheers,

Allard