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
{{ message }}
This repository was archived by the owner on Sep 2, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,21 @@ An alternative approach to configure message routing information and event subsc
4
4
5
5
## Configuration
6
6
7
-
Enable the `FileBasedRouting` feature in the endpoint configuration:
7
+
Enable the file-based routing via routing configuration:
8
8
9
-
endpointConfiguration.EnableFileBasedRouting();
9
+
```
10
+
var transport = endpointConfiguration.UseTransport<MsmqTransport>();
11
+
var routing = transport.Routing();
12
+
transport.Routing().UseFileBasedRouting();
13
+
```
10
14
11
15
This will configure the endpoint to look for a `endpoints.xml` file in the endpoints [base directory](https://msdn.microsoft.com/en-us/library/system.appdomain.basedirectory(v=vs.110).aspx).
12
16
13
17
It is possible to configure a different relative or absolute file path, e.g.:
0 commit comments