Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 D602A11B69 for ; Fri, 25 Apr 2014 14:15:27 +0000 (UTC) Received: (qmail 89196 invoked by uid 500); 25 Apr 2014 14:15:25 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 89129 invoked by uid 500); 25 Apr 2014 14:15:24 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 89099 invoked by uid 99); 25 Apr 2014 14:15:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 14:15:23 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 14:15:18 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Wdgta-0003Y5-4X for users@activemq.apache.org; Fri, 25 Apr 2014 07:14:30 -0700 Date: Fri, 25 Apr 2014 07:14:15 -0700 (PDT) From: artnaseef To: users@activemq.apache.org Message-ID: In-Reply-To: <1398408238513-4680549.post@n4.nabble.com> References: <1398408238513-4680549.post@n4.nabble.com> Subject: Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_290942_18191735.1398435255086" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_290942_18191735.1398435255086 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Yes, only one connection with a specific client id is allowed, as per the JMS spec. Sent from my iPhone > On Apr 24, 2014, at 11:44 PM, "khandelwalanuj [via ActiveMQ]" wrote: > > Hi, > > ActiveMQ Broker: 5.8 > > I am using "PooledConnectionFactory" with "maxConnections = 20" for my java consumer. > According to my understanding: Broker will allow consumer to have 20 connection at a time if it is required. > > Question: My Consumer is subscribing to a topic with durable subscription with a client_id. (client_id = "abc"). > In this case If the consumer creates more than a connection at a time and since it will use same client ID for another connection. Will it get "InvalidClientIDException" ? > > [In my test case, I am seeing this issue] > > FYI: InvalidClientIDException is thrown when a client tries to connect to the broker using a clientID for which another client has already made connection using the same client ID. > > > > Thanks, > Anuj > > > If you reply to this email, your message will be added to the discussion below: > http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-with-maxConnection-in-pooledConnectionFactory-tp4680549.html > To start a new topic under ActiveMQ - User, email ml-node+s2283324n2341805h3@n4.nabble.com > To unsubscribe from ActiveMQ - User, click here. > NAML -- View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-with-maxConnection-in-pooledConnectionFactory-tp4680549p4680562.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_290942_18191735.1398435255086--