In JsonRpcRequest the first constructor argument is used to define the exchange to be used for publishing. This string is than used in JsonRpcClient to find the configured exchange in an array. But the RpcClientFactory only uses increasing integers as array keys.
This PR changes this behavior by adding the exchange name as array key.
In
JsonRpcRequest
the first constructor argument is used to define the exchange to be used for publishing. This string is than used inJsonRpcClient
to find the configured exchange in an array. But theRpcClientFactory
only uses increasing integers as array keys.This PR changes this behavior by adding the exchange name as array key.