dev-di-compilation-issue
dev-di-compilation-issue
The Requires
- php >=5.5.9
- prooph/service-bus-symfony-bundle ~1.0
dev-fix/symfony3.4-compat
dev-fix/symfony3.4-compat
The Requires
- php >=5.5.9
- prooph/service-bus-symfony-bundle ~1.0
Wallogit.com
2017 © Pedro Peláez
Based on prooph/service-bus-symfony-bundle, this bundle add some extras to prooph service bus., (*1)
Add packages to composer.json, (*2)
"require": {
"wakeonweb/service-bus-bundle": "^0.2.1",
..
}
Register bundles in AppKernel.php, (*3)
new Prooph\Bundle\ServiceBus\ProophServiceBusBundle(),
new WakeOnWeb\ServiceBusBundle\App\Bundle\WakeonwebServiceBusBundle()
Then, your config.yml., (*4)
prooph_service_bus:
command_buses:
synchronous_command_bus:
router:
type: 'prooph_service_bus.command_bus_router'
You can deal with prooph bus:, (*5)
$bus = $container->get('prooph_service_bus.synchronous_command_bus');
$bus->dispatch(Acme\Foo\Command\RenameUser::withData('uuid here ...', 'john', 'doe'));
This was the prooph part, now:, (*6)