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
When endpoints are configured to be in different databases and the connection strings are properly specified in the app.config for the endpoints, Bus.Reply is being attempted to be sent to the wrong address and fails to be sent.
Who is affected
Any endpoint running on SQLServer transport that is calling Bus.Reply() and using multi-database support via app.config connection string convention.
Problem
The connection string convention is, NServiceBus/Transport/EndpointName.
However, when using the Bus.Reply, the callback address is being used to determine the connection string and therefore fails.
When endpoints are configured to be in different databases and the connection strings are properly specified in the app.config for the endpoints, Bus.Reply is being attempted to be sent to the wrong address and fails to be sent.
Who is affected
Any endpoint running on SQLServer transport that is calling
Bus.Reply()
and using multi-database support viaapp.config
connection string convention.Problem
The connection string convention is,
NServiceBus/Transport/EndpointName
.However, when using the Bus.Reply, the callback address is being used to determine the connection string and therefore fails.
When attempting to route the reply message, the address is correctly determined as:
https://github.com/Particular/NServiceBus.SqlServer/blob/master/src/NServiceBus.SqlServer/SqlServerMessageSender.cs#L41
However, instead of using the Callback address to find the connection string, the endpoint (contained in
sendOptions.Destination.Queue
must instead be used.https://github.com/Particular/NServiceBus.SqlServer/blob/master/src/NServiceBus.SqlServer/SqlServerMessageSender.cs#L54
Relates to Feature: #15
The text was updated successfully, but these errors were encountered: