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
* xref:whatsnew.adoc#deprecations-and-pruning[Deprecations and pruning]
23
24
24
25
[[dependencies-upgrade]]
@@ -228,6 +229,34 @@ The support for Jackson 2.x has been deprecated and will be removed in a future
228
229
This release introduces support for remote step executions, allowing you to execute steps of a batch job on remote machines or clusters.
229
230
This feature is particularly useful for large-scale batch processing scenarios where you want to distribute the workload across multiple nodes to improve performance and scalability. Remote step execution is facilitated through the use of Spring Integration messaging channels, which enable communication between the local job execution environment and the remote step executors.
230
231
232
+
[[lambda-style-configuration]]
233
+
== Lambda style configuration
234
+
235
+
This release introduces the use of contextual lambda expressions to configure batch artefacts. This new style of configuration provides a more concise and readable way to define item readers and writers.
236
+
237
+
For example, instead of using the traditional builder pattern like this:
238
+
239
+
[source, java]
240
+
----
241
+
var reader = new FlatFileItemReaderBuilder()
242
+
.resource(...)
243
+
.delimited()
244
+
.delimiter(",")
245
+
.quoteCharacter('"')
246
+
...
247
+
.build();
248
+
----
249
+
250
+
You can now use a lambda expression to configure the delimited options like this:
0 commit comments