Discovery
- Can use discovery for JMS clients to auto-detect a Message Broker
-
Uses an abstraction called a Discovery Agent to detect remote services
-
Zeroconf is a standard discovery specification
-
Command examples of 2 brokers auto-discovering themselves and 2 clients using fixed-URLs
maven -o server -Dconfig=src/test/org/codehaus/activemq/usecases/receiver-zeroconf.xml
maven -o server -Dconfig=src/test/org/codehaus/activemq/usecases/sender-zeroconf.xml
maven -o consumer -Durl=tcp://localhost:62002
maven -o producer -Durl=tcp://localhost:62001