activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Custine" <ccust...@apache.org>
Subject Re: How to develop his own DiscoveryAgent ?
Date Thu, 21 Aug 2008 18:00:43 GMT
Some time back I started a discovery agent that used SLP and was optionally
backed by ApacheDS LDAP server.  SLP is a nifty little protocol because it
allows you to attach attributes to the service registration and service
queries.  So if a broker was configured to register with the attribute
color="blue, red, green", other brokers could discover this broker with a
query for "red" or "red and green", etc.  SLP can be done using multicast in
a sort of peer to peer fashion but also has provisions for a Directory Agent
where the discovery agents can talk only to a centralized server or list of
servers.  In my case I had a standalone SLP Directory Agent configured, but
it could also be embedded in a broker or all brokers via spring xml.

The idea was that a broker could be configured with *any* attributes that
were relevant to it such as geographic location, capacity, or business
function, and other brokers would "discover" other brokers matching
attributes they were interested in.

This sounded similar to what you are looking for so if you are interested or
want more details let me know!

Chris

--
Chris Custine
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Thu, Aug 21, 2008 at 1:29 AM, Eric-AWL <eric.vincent@atosorigin.com>wrote:

>
> In fact, I imagine splitting my architecture in "local islets" and having a
> similar multicast mechanism in each "islet".
> Islets are distributed over two sites and each have a sort of HA directory
> server which answers to discovery requests from whatever broker, by sending
> multicast request on their own islet.
> Directory servers have a fixed IP address and are known by brokers.
>
> You can look at my other request "Large networks of brokers, dynamically
> included destinations and temporary queues" to better see what I mean.
>
> Eric-AWL
>
>
> James.Strachan wrote:
> >
> > 2008/8/20 Powers, Matthew <mpowers@systems.textron.com>:
> >> What about ZeroConf?
> >
> > Thats already supported along with multicast, LDAP and http
> > http://activemq.apache.org/discovery.html
> >
> > --
> > James
> > -------
> > http://macstrac.blogspot.com/
> >
> > Open Source Integration
> > http://open.iona.com
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-develop-his-own-DiscoveryAgent---tp19070432p19083841.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message