hornetq/hornetq — pull request #274 by gaohoward (2012-06-21 12:26:29+00:00)
Title: Branch 2 2 eap - HORNETQ-316

HORNETQ-316 : Implementing pluggable broadcasting/discovery support

The work is a major refactoring of the original work taken by Tomohisa.

Changes:

1. Define a BroadcastEndpoint interface for broadcasting/receiving opaque data.
2. The broadcast endpoint can be configurable for the server to use a different broadcasting/discovery technique than default UDP.
3. Internally refactor the default broadcasting/discovery groups to use UDPBroadcastEndpoint.
4. Add an jms example 'clustered-jgroups' to demonstrate clustering with a JGroups as the broadcasting/discovery mechanism.
5. Add corresponding properties to HornetQResourceAdapter (ra.xml) to allow MDB's working with it.
6. Add a test in FileConfigurationParserTest.
7. Documentation in User's manual.

hudson-tests passed on my local machine. As we now internally use this mechanism, this largely guarantees the proper work and design of the pluggable BroadcastEndpoint.