Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E71610047 for ; Tue, 25 Feb 2014 09:19:34 +0000 (UTC) Received: (qmail 50633 invoked by uid 500); 25 Feb 2014 09:19:33 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 50408 invoked by uid 500); 25 Feb 2014 09:19:33 -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 50395 invoked by uid 99); 25 Feb 2014 09:19:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Feb 2014 09:19:32 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.214.174 as permitted sender) Received: from [209.85.214.174] (HELO mail-ob0-f174.google.com) (209.85.214.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Feb 2014 09:19:27 +0000 Received: by mail-ob0-f174.google.com with SMTP id uy5so8580598obc.33 for ; Tue, 25 Feb 2014 01:19:06 -0800 (PST) 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 :content-type; bh=pDbNft/J5mjt9PdJQ50f0gSX8On9TjXti3z5Xltsoak=; b=ix2Mxrsh/KVs//bv0o1axy8ZG+GhDAouR12Y0artZAGAAqCd+PHbHDSl/R5ihVNFMP qIIkl2YayFmrV5GIMxpGH+ae45U5nGp26n1OuE7A4BtEXtXvNbdJ2L/BuSr4rbrHnNPa iJwrlQJ+cZPaN8rM6CD5JPyi3ecBss58t7N5sgQ7HMCZFdk7Xo6Yue4Alhd4b+Yo/wqX Q6+5E0YDm7/GItjrqG/VQk5kyY1rzLr6/3UApjwf/etWPxaXdCEga2ThfqsIQ/TMboj9 Mok0tFYbJWJ0kdJDYYTf94MR3sYmNBLq6SryCs8/T+VB4Scc/p+NVkjeFxX4a5Bw+wvS hE0g== X-Received: by 10.182.22.18 with SMTP id z18mr327866obe.42.1393319946097; Tue, 25 Feb 2014 01:19:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.61.17 with HTTP; Tue, 25 Feb 2014 01:18:46 -0800 (PST) In-Reply-To: <1393317007087-5747915.post@n5.nabble.com> References: <1393317007087-5747915.post@n5.nabble.com> From: Claus Ibsen Date: Tue, 25 Feb 2014 10:18:46 +0100 Message-ID: Subject: Re: What's the proper way to abandon a message in processor. To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org You can stop it by setting the stop property on the exchange. See the box in top of this page http://camel.apache.org/intercept On Tue, Feb 25, 2014 at 9:30 AM, simafengyun wrote: > Hi, > > Some message are not useless. So I want to abandon it in the processor. > *Does anybody know what's the proper way to abandon a message except using > filter?* > > ex: > > > > > > > If a message doesn't satisfy some conditions in the processor > msgQueueProcessor1, so I don't hope it still will be passed to the next > processor msgQueueProcessor2. > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/What-s-the-proper-way-to-abandon-a-message-in-processor-tp5747915.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cibsen@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io