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 EFC447CB0 for ; Tue, 9 Aug 2011 11:02:06 +0000 (UTC) Received: (qmail 7879 invoked by uid 500); 9 Aug 2011 11:02:05 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 7669 invoked by uid 500); 9 Aug 2011 11:01:55 -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 7646 invoked by uid 99); 9 Aug 2011 11:01:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 11:01:51 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 11:01:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9F1A4B3A2B for ; Tue, 9 Aug 2011 11:01:27 +0000 (UTC) Date: Tue, 9 Aug 2011 11:01:27 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@camel.apache.org Message-ID: <1523420693.19680.1312887687648.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-3632) JmsConsumer in InOnly non transacted mode could potential support async routing engine MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081561#comment-13081561 ] Claus Ibsen commented on CAMEL-3632: ------------------------------------ Okay there is a couple of drawbacks when using async routing engine - JMS exception listener - JMS error handler on the jms consumer endpoint, will not be able to kick in, as the onMessage method will exit when the async routing engine kick ins. So if processing of the exchange failed, then any unhandled exceptions is to be handled by Camel (using org.apache.camel.spi.ExceptionHandler, which will log the exception by default). Also for a single threaded consumer the order of the processed messages will not be in sequence, as the async routing engine takes over processing the exchange. People can turn this on/off using the synchronous option on the JmsEndpoint. We could leave this option as synchronous=true by default. Then people can turn that off, in case they want to leverage the async routing engine. The benefit is scalability. With this no threads will block and we can process a higher number of messages using the same resources. > JmsConsumer in InOnly non transacted mode could potential support async routing engine > -------------------------------------------------------------------------------------- > > Key: CAMEL-3632 > URL: https://issues.apache.org/jira/browse/CAMEL-3632 > Project: Camel > Issue Type: Improvement > Components: camel-jms > Affects Versions: 2.6.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.9.0 > > > The jms consumer which is not bound to send back a reply, and is *not* in transacted mode, could leverage the async processing. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira