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
Some settings are only applicable in very specific circumstances and may even be performance-sensitive. These settings cannot be configured via the usual Fix command or functionoptions, but instead have to be set as [Java system properties](https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html).
1465
+
1466
+
When using the _Metafacture runner_ via `flux.sh` or `flux.bat`, you can set these system properties on the command line:
Or enable them permanently in the `config/java-options.conf` configuration file:
1473
+
1474
+
```bash
1475
+
-D<property>=<value>
1476
+
```
1477
+
1478
+
When using _Metafacture as a Java library_, you can set these system properties on the command line:
1479
+
1480
+
```bash
1481
+
JAVA_OPTIONS=-D<property>=<value> java ...
1482
+
```
1483
+
1484
+
Or configure them directly in your application code (before instantiating Metafix):
1485
+
1486
+
```java
1487
+
System.setProperty("<property>", "<value>");
1488
+
```
1489
+
1490
+
### Maximum entity count
1491
+
1492
+
The maximum number of Metafix entities being processed _per record_. Exceeding this limit leads to the remaining entities (as well as literals) being skipped for the current record; a log message is emitted at _DEBUG_ level for each excessive entity.
1493
+
1494
+
Accepts a non-negative integer: `org.metafacture.metafix.maxEntityCount=<int>` (Default: `-1`, i.e. no limit)
1495
+
1496
+
### Maximum exception count
1497
+
1498
+
The maximum number of Metafix exceptions being handled by the strictness level _per transformation_ (i.e. Metafix instance). Exceeding this limit leads to the configured strictness handling being skipped for the rest of the transformation; a log message is emitted at _INFO_ level for each unhandled exception (including the type of the current exception).
1499
+
1500
+
Accepts a non-negative integer: `org.metafacture.metafix.maxExceptionCount=<int>` (Default: `-1`, i.e. no limit)
1501
+
1462
1502
## Xtext
1463
1503
1464
1504
The Metafix projects have been originally set up with [Xtext](https://www.eclipse.org/Xtext/) 2.17.0 and Eclipse for Java 2019-03, following [https://www.eclipse.org/Xtext/documentation/104_jvmdomainmodel.html](https://www.eclipse.org/Xtext/documentation/104_jvmdomainmodel.html).
^[0-9T:.-]+ \[main\] INFO org\.metafacture\.metafix\.Metafix - Maximum number of exceptions exceeded: 2/1 \(Current exception: IllegalStateException\)$
0 commit comments