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
Copy file name to clipboardExpand all lines: batch-web-spring-boot-docs/src/main/asciidoc/index.adoc
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Default port is 8080. Take a look at the JavaDoc of these controllers to get to
55
55
There are two ways to influence batch-web-spring-boot-starter's behaviour. The first way is to set certain properties, the second way is to add certain components to the ApplicationContext. Let's take a look at the available properties first. Note that these are only the properties of batch-web-spring-boot-starter, there are more properties from Spring Boot described in the Spring Boot reference documentation.
56
56
57
57
|===
58
-
|Property name |Description |Default value
58
+
|*Property name* |*Description* |*Default value*
59
59
60
60
|batch.config.path-xml
61
61
|Location in the classpath where Spring Batch job definitions in XML are picked up.
Some properties have been renamed. This is the full mapping table.
299
+
300
+
|===
301
+
| *old* | *new*
302
+
303
+
| batch.config.path.xml
304
+
| batch.config.path-xml
305
+
306
+
| batch.config.package.javaconfig
307
+
| batch.config.package-javaconfig
308
+
309
+
| batch.defaultprotocol.enabled
310
+
| batch.default-protocol.enabled
311
+
312
+
| batch.logfileseparation.enabled
313
+
| batch.logfile-separation.enabled
314
+
315
+
| batch.repository.isolationlevelforcreate
316
+
| batch.repository.isolation-level-for-create
317
+
318
+
| batch.max.pool.size
319
+
| batch.task-executor.max-pool-size
320
+
321
+
| batch.batch.core.pool.size
322
+
| batch.task-executor.core-pool-size
323
+
324
+
| batch.queue.capacity
325
+
| batch.task-executor.queue-capacity
326
+
327
+
| batch.repository.tableprefix
328
+
| batch.repository.table-prefix
329
+
|===
330
+
331
+
=== Metrics
332
+
Metrics export is not done manually (implementing the Exporter interface) any more, since Spring Boot 2.x autoconfigures exporters for metrics. Take a look at the https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#production-ready-metrics[documentation] of Spring Boot.
0 commit comments