Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12641

Aws-sns and aws-sqs components not accepting Date type message attributes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.21.1
    • 2.23.0
    • camel-aws
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            acosentino Andrea Cosentino
            saravanakumar Saravanakumar Selvaraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment