Browse Source

代码完善,增加异常捕获

gxt_xa_000000 4 years ago
parent
commit
1d562caa2b

+ 7 - 7
settings.xml

@@ -178,7 +178,7 @@ under the License.
178 178
         <mirror>
179 179
             <id>nexus</id>
180 180
             <name>maven-public</name>
181
-            <url>http://117.34.118.57:28081/repository/maven-public/</url>
181
+            <url>http://114.115.206.163:3000/repository/maven-public/</url>
182 182
             <mirrorOf>*</mirrorOf>
183 183
         </mirror>
184 184
 
@@ -212,7 +212,7 @@ under the License.
212 212
          | or the command line, profiles have to have an ID that is unique.
213 213
          |
214 214
          | An encouraged best practice for profile identification is to use a consistent naming convention
215
-         | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
215
+         | for profiles, such as 'env-dev', 'env-test1.json', 'env-production', 'user-jdcasey', 'user-brett', etc.
216 216
          | This will make it more intuitive to understand what the set of introduced profiles is attempting
217 217
          | to accomplish, particularly when you only have a list of profile id's for debug.
218 218
          |
@@ -244,7 +244,7 @@ under the License.
244 244
                 <repository>
245 245
                     <id>nexus</id>
246 246
                     <name>Nexus Repository</name>
247
-                    <url>http://117.34.118.57:28081/repository/maven-public/</url>
247
+                    <url>http://114.115.206.163:3000/repository/maven-public/</url>
248 248
                     <releases>
249 249
                         <enabled>true</enabled>
250 250
                     </releases>
@@ -253,7 +253,7 @@ under the License.
253 253
                 <repository>
254 254
                     <id>central</id>
255 255
                     <name>Nexus Central Repository</name>
256
-                    <url>http://117.34.118.57:28081/repository/maven-central/</url>
256
+                    <url>http://114.115.206.163:3000/repository/maven-central/</url>
257 257
                     <releases>
258 258
                         <enabled>true</enabled>
259 259
                     </releases>
@@ -265,7 +265,7 @@ under the License.
265 265
                 <repository>
266 266
                     <id>release</id>
267 267
                     <name>Nexus Release Repository</name>
268
-                    <url>http://117.34.118.57:28081/repository/maven-releases/</url>
268
+                    <url>http://114.115.206.163:3000/repository/maven-releases/</url>
269 269
                     <releases>
270 270
                         <enabled>true</enabled>
271 271
                     </releases>
@@ -277,7 +277,7 @@ under the License.
277 277
                 <repository>
278 278
                     <id>snapshots</id>
279 279
                     <name>Nexus Snapshots Repository</name>
280
-                    <url>http://117.34.118.57:28081/repository/maven-snapshots/</url>
280
+                    <url>http://114.115.206.163:3000/repository/maven-snapshots/</url>
281 281
                     <releases>
282 282
                         <enabled>true</enabled>
283 283
                     </releases>
@@ -291,7 +291,7 @@ under the License.
291 291
                 <pluginRepository>
292 292
                     <id>plugins</id>
293 293
                     <name>Nexus Plugin Repositories</name>
294
-                    <url>http://117.34.118.57:28081/repository/maven-public/</url>
294
+                    <url>http://114.115.206.163:3000/repository/maven-public/</url>
295 295
                 </pluginRepository>
296 296
             </pluginRepositories>
297 297
         </profile>

File diff suppressed because it is too large
+ 62 - 363
src/main/java/com/gct/tools/etlcamelhuge/routeconfig/CamelJDBCConfiguration.java


+ 22 - 22
src/main/resources/application.yml

@@ -70,28 +70,28 @@ spring:
70 70
         max-lifetime: 1800000
71 71
         ## 数据库连接超时时间,默认30秒,即30000
72 72
         connection-timeout: 30000
73
-   ds4:
74
-     ## Hikari连接池的设置 Hikari 时间单位都是毫秒
75
-     type: com.zaxxer.hikari.HikariDataSource
76
-     jdbc-url: jdbc:postgresql://11.72.187.11:5432/GTDATE
77
-     username: postgres
78
-     password: Postgres_2021#
79
-     driver-class-name: org.postgresql.Driver
80
-     hikari:
81
-       ## 连接池名字
82
-       pool-name: SystemHikariCP
83
-       ## 最小空闲连接数量
84
-       minimum-idle: 5
85
-       ## 空闲连接存活最大时间,默认600000(10分钟)
86
-       idle-timeout: 60000
87
-       ## 连接池最大连接数,默认是10
88
-       maximum-pool-size: 15
89
-       ## 此属性控制从池返回的连接的默认自动提交行为,默认值:true
90
-       auto-commit: true
91
-       ## 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
92
-       max-lifetime: 1800000
93
-       ## 数据库连接超时时间,默认30秒,即30000
94
-       connection-timeout: 30000
73
+    ds4:
74
+      ## Hikari连接池的设置 Hikari 时间单位都是毫秒
75
+      type: com.zaxxer.hikari.HikariDataSource
76
+      jdbc-url: jdbc:postgresql://11.72.187.11:5432/GTDATE
77
+      username: postgres
78
+      password: Postgres_2021#
79
+      driver-class-name: org.postgresql.Driver
80
+      hikari:
81
+        ## 连接池名字
82
+        pool-name: SystemHikariCP
83
+        ## 最小空闲连接数量
84
+        minimum-idle: 5
85
+        ## 空闲连接存活最大时间,默认600000(10分钟)
86
+        idle-timeout: 60000
87
+        ## 连接池最大连接数,默认是10
88
+        maximum-pool-size: 15
89
+        ## 此属性控制从池返回的连接的默认自动提交行为,默认值:true
90
+        auto-commit: true
91
+        ## 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
92
+        max-lifetime: 1800000
93
+        ## 数据库连接超时时间,默认30秒,即30000
94
+        connection-timeout: 30000
95 95
 
96 96
 management:
97 97
   info: