Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
即使在camel JPA中设置maxMessagesPerPoll,也有办法保留我的批处理计数吗_Jpa_Apache Camel - Fatal编程技术网

即使在camel JPA中设置maxMessagesPerPoll,也有办法保留我的批处理计数吗

即使在camel JPA中设置maxMessagesPerPoll,也有办法保留我的批处理计数吗,jpa,apache-camel,Jpa,Apache Camel,我能够创建带有页眉、基于驼峰索引的页脚(0表示页眉)和批处理完成(页脚)的文件。现在,如果我为每1000条记录设置maxMessagesPerPoll=1000,我将得到页眉和页脚,这意味着驼峰批次索引设置为零。现在如果我不设置maxMessagesPerPoll,记录数大约是一百万,我怀疑这会打击我的JVM

我能够创建带有页眉、基于驼峰索引的页脚(0表示页眉)和批处理完成(页脚)的文件。现在,如果我为每1000条记录设置maxMessagesPerPoll=1000,我将得到页眉和页脚,这意味着驼峰批次索引设置为零。现在如果我不设置maxMessagesPerPoll,记录数大约是一百万,我怀疑这会打击我的JVM