Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EBE5B90E7 for ; Tue, 6 Mar 2012 21:50:23 +0000 (UTC) Received: (qmail 93896 invoked by uid 500); 6 Mar 2012 21:50:22 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 93873 invoked by uid 500); 6 Mar 2012 21:50:22 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 93844 invoked by uid 99); 6 Mar 2012 21:50:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 21:50:22 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX 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, 06 Mar 2012 21:50:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F0AC5B70A for ; Tue, 6 Mar 2012 21:49:58 +0000 (UTC) Date: Tue, 6 Mar 2012 21:49:58 +0000 (UTC) From: =?utf-8?Q?Micha=C5=82_Warecki_=28Updated=29_=28JIRA=29?= To: issues@camel.apache.org Message-ID: <2096244900.29787.1331070598987.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1733734418.1744.1323709890654.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-4770) Add startAsync option to JMS consumer endpoint to allow route to be started, but the connection to the remote broker occurs async MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4770?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Micha=C5=82 Warecki updated CAMEL-4770: ---------------------------------- Attachment: (was: AsyncStartListener.patch) =20 > Add startAsync option to JMS consumer endpoint to allow route to be start= ed, but the connection to the remote broker occurs async > -------------------------------------------------------------------------= -------------------------------------------------------- > > Key: CAMEL-4770 > URL: https://issues.apache.org/jira/browse/CAMEL-4770 > Project: Camel > Issue Type: Improvement > Components: camel-jms > Reporter: Claus Ibsen > Fix For: 2.10.0, 2.9.2 > > Attachments: AsyncStartListener2.patch > > > This allows people to add routes which consumes from JMS destinations, by= which the consumer should start async in a separate thread, this ensures C= amel will continue starting the route, and continue the code. Then the asyn= s thread starts the JmsConsumer in the background. This is needed in case t= he remote connection to the JMS broker does not work. But you want to signa= l the route is started anyway, as the JMS consumer most likely support fail= over and retry, so the connection may come online later. > We may need to add some way to store a flag, so you from JMX can monitor = if the JMS consumer is live or not. > See nabble > http://camel.465427.n5.nabble.com/Adding-JMS-route-may-block-if-remote-is= -down-using-failover-connection-tp5037014p5037014.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira