maritechpro / rpc-amqp-client
RPC client bundle
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.4
- ext-amqp: *
- doctrine/mongodb-odm-bundle: ^4.2
- gepur-it/rabbitmq-bundle: ^5.0
- symfony/config: ^4.3|^5.0
- symfony/dependency-injection: ^4.3|^5.0
- symfony/http-kernel: ^4.3|^5.0
- symfony/yaml: ^4.3|^5.0
Requires (Dev)
- vimeo/psalm: ^3.4
This package is auto-updated.
Last update: 2025-03-15 02:09:58 UTC
README
Configure services for this bundle in your project as in example:
services: GepurIt\RemoteProcedureCallBundle\Rabbit\ExchangeProviderInterface: alias: 'rpc.provider.your_service_1' GepurIt\RemoteProcedureCallBundle\RpcClient\RpcClientInterface: alias: 'rpc.your_service_1' # 1 -- default rpc.provider.your_service_1: class: GepurIt\RemoteProcedureCallBundle\Rabbit\ExchangeProvider arguments: ['@rabbit_mq_service_1', 'your_queue_1'] public: true rpc.your_service_1: class: GepurIt\RemoteProcedureCallBundle\RpcClient\RemoteProcedureCallClient autowire: true arguments: $exchangeProvider: 'rpc.provider.your_service_1' public: true # 2 rpc.provider.your_service_2: class: GepurIt\RemoteProcedureCallBundle\Rabbit\ExchangeProvider arguments: ['@rabbit_mq_service_2', 'your_queue_2'] public: true rpc.your_service_2: class: GepurIt\RemoteProcedureCallBundle\RpcClient\RemoteProcedureCallClient autowire: true arguments: $exchangeProvider: 'rpc.provider.your_service_2' public: true