[
https://issues.apache.org/jira/browse/CAMEL-12641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16540213#comment-16540213
]
ASF GitHub Bot commented on CAMEL-12641:
----------------------------------------
GitHub user saravanakumar1987 opened a pull request:
https://github.com/apache/camel/pull/2421
CAMEL-12641 : Aws-sns and aws-sqs components not accepting Date type …
…message attributes
Please review this PR for https://issues.apache.org/jira/browse/CAMEL-12641.
Thanks,
Saravanakumar
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/saravanakumar1987/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2421.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2421
----
commit d0f064d19750db4e6f091e9aeab6d6c6882cbb2f
Author: Saravanakumar Selvaraj <saravanakumar.java@...>
Date: 2018-07-11T14:55:30Z
CAMEL-12641 : Aws-sns and aws-sqs components not accepting Date type
message attributes
----
> Aws-sns and aws-sqs components not accepting Date type message attributes
> -------------------------------------------------------------------------
>
> Key: CAMEL-12641
> URL: https://issues.apache.org/jira/browse/CAMEL-12641
> Project: Camel
> Issue Type: Bug
> Components: camel-aws
> Affects Versions: 2.21.1
> Reporter: Saravanakumar Selvaraj
> Priority: Minor
>
> Camel aws-sns and aws-sqs components not accepting Date type message
> attributes. For example, the camel route like,
> {{ <from id="_from1" uri="timer://foo?repeatCount=1" />}}
> {{ <to id="_to1" uri="aws-sns://***/>}}
> fails with error while publishing the message.
> {{2018-07-11 18:49:49,109 [2 - timer://foo] WARN SnsProducer
> - Cannot put the message header key=firedTime,
> value=2018-07-11T18:49:49.090+0530 into Sns MessageAttribute}}
>
> Because it carries header _firedTime_ as java.util.Date
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)