This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push:
new 21f457e1d6a CAMEL-20139 - Fix checkstyle violation in
AggregateCompletionByBatchConsumerTest
21f457e1d6a is described below
commit 21f457e1d6a436aa041df634334ac75f7149af8f
Author: Nicolas Filotto <[email protected]>
AuthorDate: Wed Nov 29 10:34:12 2023 +0100
CAMEL-20139 - Fix checkstyle violation in
AggregateCompletionByBatchConsumerTest
---
.../AggregateCompletionByBatchConsumerTest.java | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateCompletionByBatchConsumerTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateCompletionByBatchConsumerTest.java
index 2233e902231..cdfc0a4cd19 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateCompletionByBatchConsumerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateCompletionByBatchConsumerTest.java
@@ -39,17 +39,17 @@ public class AggregateCompletionByBatchConsumerTest extends
ContextTestSupport {
result.expectedMessageCount(4);
//BATCH_SIZE and not BATCH_COMPLETE is used by aggregate to test for
batch completion
- final Integer batch_size = Integer.valueOf(8);
+ final Integer batchSize = Integer.valueOf(8);
// then we sent the batch of message
- template.sendBodyAndProperty("direct:start", "batch-4",
Exchange.BATCH_SIZE, batch_size);
- template.sendBodyAndProperty("direct:start", "batch-4",
Exchange.BATCH_SIZE, batch_size);
- template.sendBodyAndProperty("direct:start", "batch-3",
Exchange.BATCH_SIZE, batch_size);
- template.sendBodyAndProperty("direct:start", "batch-3",
Exchange.BATCH_SIZE, batch_size);
- template.sendBodyAndProperty("direct:start", "batch-2",
Exchange.BATCH_SIZE, batch_size);
- template.sendBodyAndProperty("direct:start", "batch-2",
Exchange.BATCH_SIZE, batch_size);
- template.sendBodyAndProperty("direct:start", "batch-1",
Exchange.BATCH_SIZE, batch_size);
- template.sendBodyAndProperty("direct:start", "batch-1",
Exchange.BATCH_SIZE, batch_size);
+ template.sendBodyAndProperty("direct:start", "batch-4",
Exchange.BATCH_SIZE, batchSize);
+ template.sendBodyAndProperty("direct:start", "batch-4",
Exchange.BATCH_SIZE, batchSize);
+ template.sendBodyAndProperty("direct:start", "batch-3",
Exchange.BATCH_SIZE, batchSize);
+ template.sendBodyAndProperty("direct:start", "batch-3",
Exchange.BATCH_SIZE, batchSize);
+ template.sendBodyAndProperty("direct:start", "batch-2",
Exchange.BATCH_SIZE, batchSize);
+ template.sendBodyAndProperty("direct:start", "batch-2",
Exchange.BATCH_SIZE, batchSize);
+ template.sendBodyAndProperty("direct:start", "batch-1",
Exchange.BATCH_SIZE, batchSize);
+ template.sendBodyAndProperty("direct:start", "batch-1",
Exchange.BATCH_SIZE, batchSize);
assertMockEndpointsSatisfied();