Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D00E19CB0 for ; Thu, 7 Apr 2016 11:39:54 +0000 (UTC) Received: (qmail 10520 invoked by uid 500); 7 Apr 2016 11:39:54 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 10471 invoked by uid 500); 7 Apr 2016 11:39:54 -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 10459 invoked by uid 99); 7 Apr 2016 11:39:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 11:39:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 24466C031D for ; Thu, 7 Apr 2016 11:39:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.802 X-Spam-Level: X-Spam-Status: No, score=-0.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id f2sddJ4JwA1y for ; Thu, 7 Apr 2016 11:39:51 +0000 (UTC) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id CB4125FB3F for ; Thu, 7 Apr 2016 11:39:50 +0000 (UTC) Received: by mail-io0-f175.google.com with SMTP id o126so67951165iod.0 for ; Thu, 07 Apr 2016 04:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ZvS2uOn7+IbQzhI4Gm93GppDbQ1ilsJW9ETIgrUixcE=; b=LnnTaRz5IBlV7f7acv0PMfQEPfBg6L3Ob4OWgH4XGrLLZ5YjXhjE4YEIxGmN5MwTDw pxwm5VHowpq83fzZ4fByl6ulL3EeAyAIsyJK4cB02WDBSt3fw/xvoIZWxYvQGr5QjDwV G02gUi+Fk1fgjLYIcnWEWTW8OA9RdW/A+Lg2Nyq73af6MYmNOaf9Um7BIHDSl0cAS1C3 /Frnua4v1UrqExI5zgcCxfDgSYFSgNNxtECr+0XAO25spQvRpyBlHpakLFsocX4tOnoR iRUDIE7Xr2TbTzgOjlbFXm+kbb4IWXwDlonKfFkZ2RKzTPmouvX3fVxPQR97ekaVqpbz kTfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ZvS2uOn7+IbQzhI4Gm93GppDbQ1ilsJW9ETIgrUixcE=; b=HD/dptxP9wW18tMsS+C91ZRIVXC1xOKudoSSvSRxJ6pnOi3HJrBuhQdoQKOtoxdd5H R8IVaoi6C9okyqMta36nnRUHCScnVT9t6ZBhEhL4ipXH2V/4BGNijiMzFYd9LprLEEuW pHj1nxYR/V7wzMRUA9XcRuR2VKi8zKeLKzsEaQFIlZlWPT8vFb+IE9Pg2OKU3FPdLQ4Z YxIkgVHviaOL7mgq+2hadMqaiVGywoyEt+hFfOaYvZPgyAwzvco2fgwjg1hgvgUpWIO4 f8rpUE1coNaGcJGeqOgsu9xF68BSrtuoCjfVJ4TO4J/i1SI7oVz0m6uJyQCqQisEsMxa GKIQ== X-Gm-Message-State: AD7BkJLSyeiH56pXtHPACWoSov7mWyqJJ8LJr+c9afWk9RPhNxiYezScHTFb4/STb/WbkKgO6qnHlVfgZlhvPA== X-Received: by 10.107.159.137 with SMTP id i131mr2590573ioe.29.1460029190078; Thu, 07 Apr 2016 04:39:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.16.2 with HTTP; Thu, 7 Apr 2016 04:39:30 -0700 (PDT) In-Reply-To: <570645AC.2020206@saticed.me.uk> References: <570645AC.2020206@saticed.me.uk> From: Claus Ibsen Date: Thu, 7 Apr 2016 13:39:30 +0200 Message-ID: Subject: Re: feedback on proposed arn for aws-sqs implementation To: dev Content-Type: text/plain; charset=UTF-8 Can you provide an example of the two uris with and withour arn. What are the rules for an arn, is it just a text or does it use colons in the text ? The concern is how parsing the uri becomes more complicated in terms of mapping that correct to the options. On Thu, Apr 7, 2016 at 1:34 PM, Tristan Hill wrote: > Hi, > To simplify our application configuration I would like camel's aws-sqs > component to accept an arn as well as the queue name is does currently. > Since the region and account number are also in the arn this would also help > avoid needing the listqueues permissions as the queue url could be > constructed similar to the current implementation when region and account id > are passed through. > > The format I am thinking of would be something like > aws-sqs://arn:aws:sqs:eu-west-1:account_no:queue_name[?options], so > overloading the current queue name parameter. The implementation could then > assume a name starting with arn: is actually an arn, otherwise a queue name > as before. Would this seem like a reasonable potential modification? > > Thanks > Tristan -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2