Browse Source

使用camel-http4, 支持更高的并发

Jxing 6 years ago
parent
commit
730b18b6c9
2 changed files with 7 additions and 2 deletions
  1. 5 0
      pom.xml
  2. 2 2
      src/main/resources/prod/config.properties

+ 5 - 0
pom.xml

@@ -125,6 +125,11 @@
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
+            <artifactId>camel-http4</artifactId>
+            <version>2.19.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
             <artifactId>camel-http</artifactId>
             <version>2.19.0</version>
         </dependency>

+ 2 - 2
src/main/resources/prod/config.properties

@@ -1,4 +1,4 @@
-dataPlatform.baseUrl=http://localhost:8888/data-platform-3
+dataPlatform.baseUrl=http4://localhost:8888/data-platform-3
 #vendersÄÚÍøµØÖ·
-venders.baseUrl=http://localhost:8888/venders
+venders.baseUrl=http4://localhost:8888/venders