Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 99362 invoked from network); 30 Dec 2010 23:56:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Dec 2010 23:56:06 -0000 Received: (qmail 89176 invoked by uid 500); 30 Dec 2010 23:56:06 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 89148 invoked by uid 500); 30 Dec 2010 23:56:06 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 89140 invoked by uid 500); 30 Dec 2010 23:56:06 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 89137 invoked by uid 99); 30 Dec 2010 23:56:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Dec 2010 23:56:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Dec 2010 23:56:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBUNtjK9007783 for ; Thu, 30 Dec 2010 23:55:45 GMT Message-ID: <7691157.76341293753345805.JavaMail.jira@thor> Date: Thu, 30 Dec 2010 18:55:45 -0500 (EST) From: "Tracy Snell (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-3468) New camel-aws component In-Reply-To: <7496419.38961293510525205.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3468?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1297= 6150#action_12976150 ]=20 Tracy Snell commented on CAMEL-3468: ------------------------------------ Just need to add these 3 lines (no diff since it's not in svn yet) in the S= qsConsumer poll method: {code} Map attributes =3D new HashMap(= 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()); message.setHeaders(attributes); {code} That runs cleanly for everything but the last 2 lines of sendInOut() {code} assertNotNull(exchange.getOut().getHeader("messageId")); assertEquals("6a1559560f67c5e7a7d5d838bf0272ee", resultExchange.getOut().ge= tHeader("mD5OfBody")); {code} 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 i= ssue now. > New camel-aws component > ----------------------- > > Key: CAMEL-3468 > URL: https://issues.apache.org/jira/browse/CAMEL-3468 > Project: Camel > Issue Type: New Feature > Reporter: Tracy Snell > Assignee: Christian M=C3=BCller > 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 servi= ces will be added soon. I used the Amazon AWS SDK for Java to interface wit= h 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. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.