Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(QAPPINT-803): Fixing timestamp attribute for iteratorType=AT_TIME… #130

Open
wants to merge 1 commit into
base: tesb/camel-4.8.1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Jenkinsfile.talend
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@Library('esb') _

Fork(
MVN_MODULES: 'org.apache.camel:camel-support,org.apache.camel:camel-cxf-common,org.apache.camel:camel-cxf-soap,org.apache.camel:camel-cxf-rest,org.apache.camel:camel-cxf-transport,org.apache.camel:camel-cxf-spring-common,org.apache.camel:camel-cxf-spring-soap,org.apache.camel:camel-cxf-spring-rest,org.apache.camel:camel-cxf-spring-transport,org.apache.camel:camel-spring'
MVN_MODULES: 'org.apache.camel:camel-support,org.apache.camel:camel-cxf-common,org.apache.camel:camel-cxf-soap,org.apache.camel:camel-cxf-rest,org.apache.camel:camel-cxf-transport,org.apache.camel:camel-cxf-spring-common,org.apache.camel:camel-cxf-spring-soap,org.apache.camel:camel-cxf-spring-rest,org.apache.camel:camel-cxf-spring-transport,org.apache.camel:camel-spring,org.apache.camel:camel-aws2-kinesis'
)
5 changes: 5 additions & 0 deletions components/camel-aws/camel-aws2-kinesis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@

<artifactId>camel-aws2-kinesis</artifactId>
<packaging>jar</packaging>
<version>${revision}</version>

<name>Camel :: AWS2 Kinesis</name>
<description>Consuming and Producing data to AWS Kinesis Service</description>

<properties>
<revision>${camel-aws.tesb.version}</revision>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
case "maxresultsperrequest":
case "maxResultsPerRequest": getOrCreateConfiguration(target).setMaxResultsPerRequest(property(camelContext, int.class, value)); return true;
case "messagetimestamp":
case "messageTimestamp": getOrCreateConfiguration(target).setMessageTimestamp(property(camelContext, java.lang.String.class, value)); return true;
case "overrideendpoint":
case "overrideEndpoint": getOrCreateConfiguration(target).setOverrideEndpoint(property(camelContext, boolean.class, value)); return true;
case "profilecredentialsname":
Expand Down Expand Up @@ -135,6 +137,8 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
case "lazyStartProducer": return boolean.class;
case "maxresultsperrequest":
case "maxResultsPerRequest": return int.class;
case "messagetimestamp":
case "messageTimestamp": return java.lang.String.class;
case "overrideendpoint":
case "overrideEndpoint": return boolean.class;
case "profilecredentialsname":
Expand Down Expand Up @@ -207,6 +211,8 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
case "lazyStartProducer": return target.isLazyStartProducer();
case "maxresultsperrequest":
case "maxResultsPerRequest": return getOrCreateConfiguration(target).getMaxResultsPerRequest();
case "messagetimestamp":
case "messageTimestamp": return getOrCreateConfiguration(target).getMessageTimestamp();
case "overrideendpoint":
case "overrideEndpoint": return getOrCreateConfiguration(target).isOverrideEndpoint();
case "profilecredentialsname":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
case "maxresultsperrequest":
case "maxResultsPerRequest": target.getConfiguration().setMaxResultsPerRequest(property(camelContext, int.class, value)); return true;
case "messagetimestamp":
case "messageTimestamp": target.getConfiguration().setMessageTimestamp(property(camelContext, java.lang.String.class, value)); return true;
case "overrideendpoint":
case "overrideEndpoint": target.getConfiguration().setOverrideEndpoint(property(camelContext, boolean.class, value)); return true;
case "pollstrategy":
Expand Down Expand Up @@ -161,6 +163,8 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
case "lazyStartProducer": return boolean.class;
case "maxresultsperrequest":
case "maxResultsPerRequest": return int.class;
case "messagetimestamp":
case "messageTimestamp": return java.lang.String.class;
case "overrideendpoint":
case "overrideEndpoint": return boolean.class;
case "pollstrategy":
Expand Down Expand Up @@ -259,6 +263,8 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
case "lazyStartProducer": return target.isLazyStartProducer();
case "maxresultsperrequest":
case "maxResultsPerRequest": return target.getConfiguration().getMaxResultsPerRequest();
case "messagetimestamp":
case "messageTimestamp": return target.getConfiguration().getMessageTimestamp();
case "overrideendpoint":
case "overrideEndpoint": return target.getConfiguration().isOverrideEndpoint();
case "pollstrategy":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Kinesis2EndpointUriFactory extends org.apache.camel.support.compone
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Set<String> MULTI_VALUE_PREFIXES;
static {
Set<String> props = new HashSet<>(48);
Set<String> props = new HashSet<>(49);
props.add("accessKey");
props.add("amazonKinesisClient");
props.add("asyncClient");
Expand All @@ -43,6 +43,7 @@ public class Kinesis2EndpointUriFactory extends org.apache.camel.support.compone
props.add("kclDisableCloudwatchMetricsExport");
props.add("lazyStartProducer");
props.add("maxResultsPerRequest");
props.add("messageTimestamp");
props.add("overrideEndpoint");
props.add("pollStrategy");
props.add("profileCredentialsName");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"supportLevel": "Stable",
"groupId": "org.apache.camel",
"artifactId": "camel-aws2-kinesis",
"version": "4.8.1-SNAPSHOT",
"version": "4.8.1.20241219",
"scheme": "aws2-kinesis-firehose",
"extendsScheme": "",
"syntax": "aws2-kinesis-firehose:streamName",
Expand Down
Loading
Loading