-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add more traceability about LAST (batch and/or exchange) * Extend 'DataProviderComponentTest'
- Loading branch information
Christian Ribeaud
committed
Mar 8, 2017
1 parent
424b8fe
commit edb2e69
Showing
5 changed files
with
96 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
.gitignore | ||
.idea/ | ||
camel-data-provider.iml | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/java/org/apache/camel/component/dataprovider/DataProviderConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.apache.camel.component.dataprovider; | ||
|
||
/** | ||
* Some constant around <b>dataprovider</b> component. | ||
* | ||
* @author <a href="mailto:[email protected]">Christian Ribeaud</a> | ||
*/ | ||
public final class DataProviderConstants { | ||
|
||
private DataProviderConstants() { | ||
// Can NOT be instantiated | ||
} | ||
|
||
/** | ||
* Constant to specify whether current {@link org.apache.camel.Exchange} is part of the last batch. | ||
* <p> | ||
* Value stored should be a <b>boolean</b> or associated object. | ||
* </p> | ||
*/ | ||
public final static String LAST_BATCH = DataProviderConstants.class.getName() + ".LastBatch"; | ||
|
||
/** | ||
* Constant to specify whether current {@link org.apache.camel.Exchange} is the last one. | ||
* <p> | ||
* Value stored should be a <b>boolean</b> or associated object. | ||
* </p> | ||
*/ | ||
public final static String LAST_EXCHANGE = DataProviderConstants.class.getName() + ".LastExchange"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters