org.exolab.jms.messagemgr
Class DestinationConfigurator
java.lang.Object
|
+--org.exolab.jms.service.Service
|
+--org.exolab.jms.messagemgr.DestinationConfigurator
- All Implemented Interfaces:
- Serviceable
- public class DestinationConfigurator
- extends Service
Pre-configures DestinationManager with destinations and and
ConsumerManager with subscribers from an Configuration.
- Version:
- $Revision: 1.1 $ $Date: 2005/08/30 07:26:49 $
- Author:
- Tim Anderson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DestinationConfigurator
public DestinationConfigurator(Configuration config,
DestinationManager destinations,
ConsumerManager consumers)
- Create a new
DestinationConfigurator.
- Parameters:
config - the configuration to usedestinations - the destination managerconsumers - the consumer manaager
doStart
protected void doStart()
throws ServiceException
- Start the service.
- Overrides:
doStart in class Service
- Throws:
ServiceException - if the service fails to start
configureTopics
protected void configureTopics(AdministeredTopic[] topics)
- Configure topics.
- Parameters:
topics - the topics to configure
configureQueues
protected void configureQueues(AdministeredQueue[] queues)
- Configure queues.
- Parameters:
queues - the queues to configure
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.