You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RabbitMQQuery currently news up a fixed http client because it has to pass the extracted credentials to the client. By moving it to the http client factory some of the client configuration could be externalized. It might also simplify testing and remove the necessity for having a virtual method.
The tricky part might be that the http client extensions require information to be available at service collection time. We would have to find a way to pass the credentials validated and extracted during the initialization of the query (which means the container is already closed for modifications) to the client being created.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the suggested improvement
The RabbitMQQuery currently news up a fixed http client because it has to pass the extracted credentials to the client. By moving it to the http client factory some of the client configuration could be externalized. It might also simplify testing and remove the necessity for having a virtual method.
The tricky part might be that the http client extensions require information to be available at service collection time. We would have to find a way to pass the credentials validated and extracted during the initialization of the query (which means the container is already closed for modifications) to the client being created.
Additional Context
No response
The text was updated successfully, but these errors were encountered: