SQS IntegrationSink queueNameOrArn missing #8511
Labels
area/integrations
area/sinks
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Issues which should be fixed (post-triage)
Describe the bug
The SQS IntegrationSink can not be successfully created. Once running, I am presented this error within the associated pod:
... Caused by: java.lang.IllegalArgumentException: Route template aws-sqs-sink the following mandatory parameters must be provided: queueNameOrArn at org.apache.camel.impl.DefaultModel.addRouteFromTemplate(DefaultModel.java:478) at org.apache.camel.impl.DefaultModel.addRouteFromTemplate(DefaultModel.java:416) at org.apache.camel.impl.DefaultCamelContext.addRouteFromTemplate(DefaultCamelContext.java:362) at org.apache.camel.component.kamelet.KameletComponent$LifecycleHandler.createRouteForEndpoint(KameletComponent.java:457) ... 28 more
Expected behavior
The IntegrationSink is created and runs correctly with no errors.
To Reproduce
Knative release version
1.17.0
Additional context
This is the first time attempting to use this custom resource type. I noticed on the describe call against the associated pod this set of registered environment variables:
I believe that the environment variable
CAMEL_KAMELET_AWS_SQS_SOURCE_QUEUENAMEORARN"
should beCAMEL_KAMELET_AWS_SQS_SINK_QUEUENAMEORARN
in order for this codehere to properly read the environment variables.
The text was updated successfully, but these errors were encountered: