3.4.2. Configure the Batching API
To use the Batching API, enable invocation batching in the cache configuration.
XML Configuration
To configure the Batching API in the XML file:
<invocationBatching enabled="true" />
Programmatic Configuration
To configure the Batching API programmatically use:
Configuration c = new ConfigurationBuilder().invocationBatching().enable().build();
In JBoss Data Grid, invocation batching is disabled by default and batching can be used without a defined Transaction Manager.