Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 69723 invoked from network); 30 Nov 2007 20:21:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2007 20:21:49 -0000 Received: (qmail 15930 invoked by uid 500); 30 Nov 2007 20:21:37 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 15912 invoked by uid 500); 30 Nov 2007 20:21:37 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 15903 invoked by uid 99); 30 Nov 2007 20:21:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 12:21:37 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 20:21:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 916C2714204 for ; Fri, 30 Nov 2007 12:21:28 -0800 (PST) Message-ID: <27892397.1196454088590.JavaMail.jira@brutus> Date: Fri, 30 Nov 2007 12:21:28 -0800 (PST) From: "Guillaume Nodet (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-245) JHC componet could create more than one consumer at the same port In-Reply-To: <19104091.1196058926739.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet resolved CAMEL-245. ----------------------------------- Resolution: Fixed Sending components/camel-jhc/src/main/java/org/apache/camel/component/jhc/AsyncBufferingHttpServiceHandler.java Adding components/camel-jhc/src/main/java/org/apache/camel/component/jhc/AsyncHttpRequestHandler.java Adding components/camel-jhc/src/main/java/org/apache/camel/component/jhc/AsyncResponseHandler.java Sending components/camel-jhc/src/main/java/org/apache/camel/component/jhc/BufferingHttpServiceHandler.java Sending components/camel-jhc/src/main/java/org/apache/camel/component/jhc/DefaultListeningIOReactor.java Sending components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcConsumer.java Sending components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcProducer.java Adding components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcServerEngine.java Adding components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcServerEngineFactory.java Sending components/camel-jhc/src/test/java/org/apache/camel/component/jhc/HttpTest.java Sending pom.xml Transmitting file data ........... Committed revision 599946. Thanks a lot for this awesome patch. I've just added the missing ASF headers ;-) > JHC componet could create more than one consumer at the same port > ----------------------------------------------------------------- > > Key: CAMEL-245 > URL: https://issues.apache.org/activemq/browse/CAMEL-245 > Project: Apache Camel > Issue Type: Improvement > Affects Versions: 1.2.0 > Reporter: Willem Jiang > Fix For: 1.3.0 > > Attachments: jhc.patch > > > Current JHC component 's consumer just try to bind to a certain port when it is started. > If this port is used , the consumer will not work. > We could use static factory class to trace the port, and bind the handler with the context to > support multi-endpoint in same port. > BTW, we also need to add a JHC module in the JIRA -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.