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 7CF0FDFED for ; Wed, 25 Jul 2012 08:51:54 +0000 (UTC) Received: (qmail 35263 invoked by uid 500); 25 Jul 2012 08:51:53 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 35187 invoked by uid 500); 25 Jul 2012 08:51:53 -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 35167 invoked by uid 99); 25 Jul 2012 08:51:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 08:51:52 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 194.35.218.66 is neither permitted nor denied by domain of Alistair.Young@uhi.ac.uk) Received: from [194.35.218.66] (HELO gwsmtp.uhi.ac.uk) (194.35.218.66) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 08:51:44 +0000 Received: from UHI-OUT-MTA by gwsmtp.uhi.ac.uk with Novell_GroupWise; Wed, 25 Jul 2012 09:51:24 +0100 Message-Id: <500FC1940200008A0004EAA9@gwsmtp.uhi.ac.uk> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Wed, 25 Jul 2012 09:51:16 +0100 From: "Alistair Young" To: Subject: Route stops if more than one message is sent Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline I have a route that adds a header to an incoming message and if the header already exists and is less than a certain value the message is delayed by 1s and sent back to the original topic. The flow is: route1 : producer -> topicA -> consumer route2: consumer -> topicB -> check header -> delay 1s -> topicA it works fine if I send one message in route1. If I send 2 messages in route1, route2 stops after the check header stage of the first message and never sends to topicA. Is there a config setting I'm missing? I've looked at producer flow control but can't get the route to take more than one message. Non transacted routes. I have an errorHandlerRef but it's never called. The route just stops. thanks, Alistair ------------------- Alistair Young Senior Software Engineer UHI@Sabhal Mòr Ostaig