camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tracy Snell (JIRA)" <>
Subject [jira] Commented: (CAMEL-3468) New camel-aws component
Date Thu, 30 Dec 2010 23:55:45 GMT


Tracy Snell commented on CAMEL-3468:

Just need to add these 3 lines (no diff since it's not in svn yet) in the SqsConsumer poll

            Map<String, Object> attributes = new HashMap<String, Object>(msg.getAttributes());

            // Add message attributes to the header map
            attributes.put(SqsBinding.MESSAGE_ID, msg.getMessageId());
            attributes.put(SqsBinding.RECEIPT_HANDLE, msg.getReceiptHandle());
            attributes.put(SqsBinding.MD5_OF_BODY, msg.getMD5OfBody());


That runs cleanly for everything but the last 2 lines of sendInOut()
assertEquals("6a1559560f67c5e7a7d5d838bf0272ee", resultExchange.getOut().getHeader("mD5OfBody"));

Also you have exchange in the first line and resultExchange in the second (doesn't matter
since out isn't set in either exhange). Looking at the out issue now.

> New camel-aws component
> -----------------------
>                 Key: CAMEL-3468
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Christian Müller
>         Attachments: patchfile.txt
> I've started a new component to interface with Amazon Web Services. This first pass includes
just a Simple Queue Service component. Additional services will be added soon. I used the
Amazon AWS SDK for Java to interface with AWS. Uses Apache 2.0 as it's license.
> Let me know if I need to change things or any thoughts/suggestions and I'll be glad to
make the adjustments.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message