Trying to fetch message attributes, making use of URI below
aws-sqs://product-file-list?amazonSQSClient=#amazonSQSClient&deleteAfterRead=false&maxMessagesPerPoll=1&visibilityTimeout=200&

Getting exception as follows

org.apache.camel.FailedToCreateRouteException: Failed to create route
route1: Route(route1)[[From[aws-sqs://product-file-list?amaz... because of
Failed to resolve endpoint:
aws-sqs://product-scraper-file-list?amazonSQSClient=%23amazonSQSClient&attributeNames=All&deleteAfterRead=false&maxMessagesPerPoll=1&visibilityTimeout=200
due to: Could not find a suitable setter for property: attributeNames as
there isn't a setter method with same type: java.lang.String nor type
conversion possible: No type converter available to convert from type:
java.lang.String to the required type: java.util.Collection with value All






--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-SQS-interface-throw-error-with-attributeNames-as-parameter-tp5761002.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to