Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 23625 invoked from network); 17 Mar 2006 08:44:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Mar 2006 08:44:42 -0000 Received: (qmail 12352 invoked by uid 500); 17 Mar 2006 08:44:42 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 12322 invoked by uid 500); 17 Mar 2006 08:44:42 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 12313 invoked by uid 99); 17 Mar 2006 08:44:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 00:44:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.14.253.135] (HELO goku.simulalabs.com) (64.14.253.135) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 00:44:41 -0800 Received: by goku.simulalabs.com (Postfix, from userid 501) id 08742EC0409; Fri, 17 Mar 2006 00:44:16 -0800 (PST) Received: from localhost (goku [127.0.0.1]) by goku.simulalabs.com (Postfix) with ESMTP id D75BBEC0403 for ; Fri, 17 Mar 2006 00:44:16 -0800 (PST) Received: from goku.simulalabs.com ([127.0.0.1]) by localhost (goku.simulalabs.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14337-07 for ; Fri, 17 Mar 2006 00:44:13 -0800 (PST) Received: from stilton (jira.activemq.org [172.18.20.169]) by goku.simulalabs.com (Postfix) with ESMTP id CED20EC0406 for ; Fri, 17 Mar 2006 00:44:13 -0800 (PST) Message-ID: <13195938.1142592386107.JavaMail.tomcat@stilton> Date: Fri, 17 Mar 2006 02:46:26 -0800 (PST) From: "tao (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Commented: (AMQ-641) JMS is a asynchronous interface ,blocking is not allow. In-Reply-To: <32010266.1142587825981.JavaMail.tomcat@stilton> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at goku.simulalabs.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.activemq.org/jira//browse/AMQ-641?page=comments#action_35778 ] tao commented on AMQ-641: ------------------------- I see. But not blocked the method transfer,It can throw errors or return false. You can see the log,why sometimes throw errors but not return,the application is stoped. I used others jms server, them always throw errors when net or Server not work. In the AMQ 4.0 set the jms client with "java.naming.provider.url = failover:tcp://128.64.7.27:61616?useAsyncSend=true ",the result is too bad. > JMS is a asynchronous interface ,blocking is not allow. > -------------------------------------------------------- > > Key: AMQ-641 > URL: http://jira.activemq.org/jira//browse/AMQ-641 > Project: ActiveMQ > Type: Bug > Components: JMS client, Connector > Versions: 3.2.2, 4.0 M4 > Environment: winxp jdk1.4.2 jdk 1.5.6 > Reporter: tao > > > If I use failover:tcp//.... in the jms client, > That all method will be blocked when net or activemq error. > This is not a good idea.My application will be blocked. > And If I use tcp//.... in the jms client,Sometimes ,send(message) method will be blocked,also not return. > JMS is a asynchronous interface ,blocking is not allow at any condition. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.activemq.org/jira//secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira