Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EB4BC200B39 for ; Sat, 25 Jun 2016 02:50:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E9C50160A5A; Sat, 25 Jun 2016 00:50:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3DA82160A58 for ; Sat, 25 Jun 2016 02:50:18 +0200 (CEST) Received: (qmail 56778 invoked by uid 500); 25 Jun 2016 00:50:17 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 56766 invoked by uid 99); 25 Jun 2016 00:50:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2016 00:50:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7ED841A5DB2 for ; Sat, 25 Jun 2016 00:50:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.313 X-Spam-Level: * X-Spam-Status: No, score=1.313 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Q-7DyHlbxJtd for ; Sat, 25 Jun 2016 00:50:14 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id 739545F29C for ; Sat, 25 Jun 2016 00:50:13 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 538BC2B1826C for ; Fri, 24 Jun 2016 17:29:33 -0700 (PDT) Date: Fri, 24 Jun 2016 17:50:11 -0700 (MST) From: sfbayperson2016 To: users@camel.apache.org Message-ID: <1466815811948-5784389.post@n5.nabble.com> Subject: Acess to the Route's list of RoutePolicies from a custom GenericFileProcessStrategy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Sat, 25 Jun 2016 00:50:19 -0000 Hi, I'm trying implement a custom GenericFileProcessStrategy for an SFTP "from" endpoint. I figure I just need to write the class then append "&processStrategy=MyCustomGenericFileProcessStrategy" to the end of the from uri. Is this correct? The main question is when GenericFileProcessStrategy.begin() is called I need to be able to iterate through all the route policies for the route that the endpoint belongs to, and check if its a specific type of RoutePolicy. Is this possible from that context? It doesn't look obvious but is there some way I can do that indirectly through the Endpoint or the Exchange that's available in that context? -- View this message in context: http://camel.465427.n5.nabble.com/Acess-to-the-Route-s-list-of-RoutePolicies-from-a-custom-GenericFileProcessStrategy-tp5784389.html Sent from the Camel - Users mailing list archive at Nabble.com.