Examples of BrokerActor


Examples of org.apache.qpid.server.logging.actors.BrokerActor

        // the configuration.
        BrokerMessages.reload();

        // AR.initialise() sets its own actor so we now need to set the actor
        // for the remainder of the startup
        CurrentActor.set(new BrokerActor(config.getRootMessageLogger()));
        CurrentActor.setDefault(new BrokerActor(config.getRootMessageLogger()));

        try
        {
            configureLoggingManagementMBean(logConfigFile, logWatchTime);
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.BrokerActor

    }

    @Override
    public void close() throws Exception
    {
        CurrentActor.set(new BrokerActor(_rootMessageLogger));

        try
        {
            super.close();
        }
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.BrokerActor

            {
                performDBBackup(fromDir, backupDir, force);
            }
        }

        CurrentActor.set(new BrokerActor(new NullRootMessageLogger()));

        //Create a new messageStore
        _newMessageStore = new BDBMessageStore();
        _newMessageStore.configure(toDir, false);
        _newMessageStore.start();
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.BrokerActor

    }

    @Override
    public void initialise() throws Exception
    {
        CurrentActor.setDefault(new BrokerActor(new NullRootMessageLogger()));
        GenericActor.setDefaultMessageLogger(new NullRootMessageLogger());
        super.initialise();
    }
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.BrokerActor

    @Override
    public void close()
    {
        //Set the Actor for Broker Shutdown
        CurrentActor.set(new BrokerActor(_registryName, _rootMessageLogger));
        try
        {
            super.close();
        }
        finally
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.BrokerActor

        //Create the composite (log4j+SystemOut MessageLogger to be used during startup
        RootMessageLogger[] messageLoggers = {new SystemOutMessageLogger(), _rootMessageLogger};
        _startupMessageLogger = new CompositeStartupMessageLogger(messageLoggers);
       
        CurrentActor.set(new BrokerActor(_startupMessageLogger));

        try
        {
            initialiseManagedObjectRegistry();

            configure();

            _qmfService = new QMFService(getConfigStore(), this);

            logStartupMessages(CurrentActor.get());

            _virtualHostRegistry = new VirtualHostRegistry(this);

            _securityManager = new SecurityManager(_configuration, _pluginManager);

            _authenticationManager = createAuthenticationManager();

            _managedObjectRegistry.start();
        }
        finally
        {
            CurrentActor.remove();
        }

        CurrentActor.set(new BrokerActor(_rootMessageLogger));
        try
        {
            initialiseVirtualHosts();
            initialiseStatistics();
            initialiseStatisticsReporting();
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.BrokerActor

        {
            _logger.info("Shutting down ApplicationRegistry:" + this);
        }

        //Set the Actor for Broker Shutdown
        CurrentActor.set(new BrokerActor(getRootMessageLogger()));
        try
        {
            //Stop Statistics Reporting
            if (_reportingTimer != null)
            {
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.BrokerActor

    public void startup(final BrokerOptions options) throws Exception
    {
        try
        {
            CurrentActor.set(new BrokerActor(new SystemOutMessageLogger()));
            startupImpl(options);
            addShutdownHook();
        }
        finally
        {
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.BrokerActor

        // the configuration.
        BrokerMessages.reload();

        // AR.initialise() sets and removes its own actor so we now need to set the actor
        // for the remainder of the startup, and the default actor if the stack is empty
        CurrentActor.set(new BrokerActor(config.getCompositeStartupMessageLogger()));
        CurrentActor.setDefault(new BrokerActor(config.getRootMessageLogger()));
        GenericActor.setDefaultMessageLogger(config.getRootMessageLogger());

        try
        {
            configureLoggingManagementMBean(logConfigFile, options.getLogWatchFrequency());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.