Skip to content

Commit fcc5bfc

Browse files
Update MIGRATION-GUIDE: relocate router configuration section
1 parent 8c7ca20 commit fcc5bfc

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

docs/MIGRATION-GUIDE.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@ XML based configurations remain supported, but some legacy features and APIs hav
1919
- To use existing XML configurations, just remove the `apis.yaml` file in the `conf` directory. Most of the XML configurations will work without changes.
2020

2121

22+
### 2.1 Router Configuration
23+
Router settings are now configured via the `configuration` element.
24+
25+
Example:
26+
```xml
27+
<!-- before -->
28+
<router production="true" />
29+
30+
<!-- now -->
31+
<router>
32+
<configuration production="true" />
33+
</router>
34+
```
35+
2236
## 3. Removed Interceptors and Plugins
2337

2438
The following legacy interceptors have been removed:
@@ -121,20 +135,6 @@ The JMX ObjectName format has changed to: `io.membrane-api:00=routers, name=`
121135
```
122136
- `HttpClientInterceptor.setAdjustHeader(boolean)` has been removed. Header adjustment is now configured via `HttpClientConfiguration`.
123137

124-
## 9. Router Configuration
125-
Router settings are now configured via the `configuration` element.
126-
127-
Example:
128-
```xml
129-
<!-- before -->
130-
<router production="true" />
131-
132-
<!-- now -->
133-
<router>
134-
<configuration production="true" />
135-
</router>
136-
```
137-
138138
# Migration from 5.X to 6
139139

140140
## Swagger 2

0 commit comments

Comments
 (0)