mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-17 01:56:28 +03:00
Defined prooph service bus bundle default config
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
services:
|
||||
Prooph\Bundle\ServiceBus\CommandBus: '@prooph_service_bus.app_command_bus'
|
||||
|
||||
prooph_service_bus:
|
||||
command_buses:
|
||||
app_command_bus: ~
|
||||
@@ -0,0 +1,14 @@
|
||||
prooph_service_bus:
|
||||
command_buses:
|
||||
app_command_bus: ~
|
||||
|
||||
services:
|
||||
Prooph\Bundle\ServiceBus\CommandBus: '@prooph_service_bus.app_command_bus'
|
||||
|
||||
# Make sure App\Messaging\* services are not overriden in `config/services.yaml`
|
||||
command_handlers:
|
||||
resource: '../../src/Messaging/Command'
|
||||
namespace: App\Messaging\Command\
|
||||
public: true
|
||||
tags:
|
||||
- { name: 'prooph_service_bus.app_command_bus.route_target', message_detection: true }
|
||||
Reference in New Issue
Block a user