Skip to content

maritechpro/rpc-amqp-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages