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 88D99D93E for ; Wed, 25 Jul 2012 10:36:58 +0000 (UTC) Received: (qmail 15647 invoked by uid 500); 25 Jul 2012 10:36:58 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 15503 invoked by uid 500); 25 Jul 2012 10:36:57 -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 15473 invoked by uid 99); 25 Jul 2012 10:36:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 10:36:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vincent.nonnenmacher@gmail.com designates 209.85.213.45 as permitted sender) Received: from [209.85.213.45] (HELO mail-yw0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 10:36:50 +0000 Received: by yhpp34 with SMTP id p34so610890yhp.32 for ; Wed, 25 Jul 2012 03:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iCYrVcOF3mplz4IObdEjtHo+aK9BAZ5aQv5e7sT1tgs=; b=Vryyu+FX5DjJTfuC6HiyOdeGDHckJ5uBVtywMztOxSv38E1f3FyH+YpBKPxIyaMksw dR0OR4wuFP85TEtZI3mWv3FGYQCG2Xtfps/K3QE34D37FSxS66EDhOMfdnKsHE7P2LkW Bb4WXRFTEyEwhbu8difvhucwe3f9EeQ+gjW4j3bS4d1g9/utJG78r3Ak4NGyzIEDZfrK cwR0pIkl93tBGr10Y2l+oT6JuQCTlW1ai0BbDwnQErYnh+racS6wX/4g1+Ao/ypZ7G/E lyZKSpWgVe73z8KwyhDWVTyupc/BzjN/ujrDFll23gVFwHwTuoQfdFypxTbcCzrwfvqt aGJA== MIME-Version: 1.0 Received: by 10.60.168.230 with SMTP id zz6mr33412127oeb.11.1343212589462; Wed, 25 Jul 2012 03:36:29 -0700 (PDT) Received: by 10.60.164.4 with HTTP; Wed, 25 Jul 2012 03:36:29 -0700 (PDT) In-Reply-To: <500FD3B50200008A0004EABF@gwsmtp.uhi.ac.uk> References: <500FD3B50200008A0004EABF@gwsmtp.uhi.ac.uk> Date: Wed, 25 Jul 2012 12:36:29 +0200 Message-ID: Subject: Re: Route stops if more than one message is sent From: Vincent Nonnenmacher To: "users@camel.apache.org" Content-Type: multipart/alternative; boundary=bcaec54ee8cc40b32a04c5a50dbb X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54ee8cc40b32a04c5a50dbb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You could use github to post a GIST of your routes DSL and post its URL here, so you CAN get help. On Wednesday, July 25, 2012, Alistair Young wrote: > I've removed all routes and now I'm getting random messages disappearing > from the simplest possible route: > > excuse the lack of xml format - the email client is the worst in the > world and won't let me send plain text. > > route > from uri=3D"activemq:topic:topicA" > to uri=3D"activemq:topic:topicB" > route > > send 10 message, between 3 and 4 disappear and never reach topicB. No > errors logged. > > Alistair > > > ------------------- > Alistair Young > Senior Software Engineer > UHI@Sabhal M=F2r Ostaig > >>> "Alistair Young" 25/07/12 9:52 AM >>> > 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=F2r Ostaig > > --bcaec54ee8cc40b32a04c5a50dbb--