Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.0
-
None
-
Spring Boot 2.2.6
org.apache.camel:camel-endpointdsl:3.2.0
org.apache.camel.springboot:camel-aws2-sqs-starter:3.2.0
-
Unknown
Description
The `aws2Sqs`consumer is not respecting the delay value and continuously polls every 500ms regardless of its setting in both the EndpointDSL and normal route builder string.
Example:
// build.gradle dependencies { implementation 'org.apache.camel:camel-endpointdsl:3.2.0' implementation 'org.apache.camel.springboot:camel-aws2-sqs-starter:3.2.0' ... } // EncodeQueueRoute.java ... @Component public class EncodeQueueRoute extends EndpointRouteBuilder { @Override public void configure() { from(aws2Sqs("queueName") .useFixedDelay(true) .delay(5000) ).to(file("data/output")); } }
I have tried both the EndpointDSL as well as normal Route builder,
with useFixedDelay explicitly passed and without (it defaults to
true).
Original Mailing List Thread: https://camel.465427.n5.nabble.com/Sqs2EndpointBuilder-is-not-respecting-delay-polling-continuously-td5865730.html
Attachments
Issue Links
- is related to
-
CAMEL-14982 Endpoint DSL - File never consumed using delay
- Resolved
- links to