private void ConfigureTriggerAdapter()
        {
            if (_settings.TriggerAdapter == "Test")
            {
                var triggerAdapter = new TriggerAdapter();
                triggerAdapter.Initialize();
                _triggerAdapterShutdown = () => { triggerAdapter.Shutdown(); };

                // Wire upstream ports into adapter
                triggerAdapter.Handle(Container.GetInstance <AddBookTitleRequestUseCase>());
            }
            else if (_settings.TriggerAdapter == "RabbitMq")
            {
                var triggerAdapter = new Adapter.Trigger.RabbitMq.TriggerAdapter();
                triggerAdapter.Initialize();
                _triggerAdapterShutdown = () => { triggerAdapter.Shutdown(); };

                // Wire upstream ports into adapter
                triggerAdapter.Handle(Container.GetInstance <AddBookTitleRequestUseCase>());
            }
        }
 private void RegisterTriggerAdapter()
 {
     _triggerAdapter = new TriggerAdapter();
     _triggerAdapter.Initialize();
     _triggerAdapterShutdown = () => { _triggerAdapter.Shutdown(); };
 }