Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 1B34818FE3 for ; Mon, 18 Jan 2016 22:59:53 +0000 (UTC) Received: (qmail 76151 invoked by uid 500); 18 Jan 2016 22:59:48 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 76113 invoked by uid 500); 18 Jan 2016 22:59:48 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 76097 invoked by uid 99); 18 Jan 2016 22:59:47 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2016 22:59:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 34B5CC2A2D for ; Mon, 18 Jan 2016 22:59:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.212 X-Spam-Level: * X-Spam-Status: No, score=1.212 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 24q2PqmiVGLK for ; Mon, 18 Jan 2016 22:59:41 +0000 (UTC) Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 8918320426 for ; Mon, 18 Jan 2016 22:59:41 +0000 (UTC) Received: by mail-qg0-f45.google.com with SMTP id 6so488748471qgy.1 for ; Mon, 18 Jan 2016 14:59:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=qPuforN8AW9xaPjF0x48KLtZ46AJPs32jRIImdUDEw4=; b=h3F6BM36vzfyQo+/tKuzF+6W+M/WsLp9W9RpbE804HEE4N7oFqApRInlDn66d0QKQR VczgH58+2TKPjMbarMMduMRnP9kdGeyMwEypuihADCC+ife5xUw/23jsHjzAd96MdipZ 0iOS5MhczKdcHlS0PcRYCzIvfKXyMfEOyctWDdmBkwQX44qafqDlhQnSzDzM3oIbf8RO pDy7aX0UOjEsFe19y1MtlML+CbaJLSfjKKGstCSemvnYuPDoGA+R/LDGgLaqw3yCqvJs dgwS20Q3+eeVSeTLDl3iQzkexQp6Hv1j/NxtilcgvI8WJzRa0mD9iGahG4kJa/rf6rju cifQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=qPuforN8AW9xaPjF0x48KLtZ46AJPs32jRIImdUDEw4=; b=ZM1iJMYekV31CazR5Q1U+F9ERQEqcZoEiLYk7GnGt0m2o3FWhPDGg8gkpKwW+jC7qE E6HCHMjrN2LbAmhuRUmCD30n867SZO1B/hKXswgcnuQKfcyGcyRt8dp7QaXW3qz9CCQA CE9d6hoQVcN/ZQdTGxsipiDfMUPE6t9qVVarmmbSuLW6OJjYSyJLXi0QZWcyxTA+ICw8 UBuyVv9xFY8WaOEeBhWdBbMVgEhbnoGHKAnywvyIMqtUFeDkwgHYocXf8sz3G6eplPMX mRVQ0oGZyA7o9V/PaN0Ng2NYSg0YC7yzyKldwxn5Pby/Q9vCinv6OpYDN0GMp7hWHYSf aF6A== X-Gm-Message-State: ALoCoQkIDyC90oFJ7cKjUjunxQELVAydbAvAJFZgY60yyWPI51VdOM2X829EvuVFqeTT+w4jgpYQ+ppHsWsjOCXI2MaqR/OKlA== MIME-Version: 1.0 X-Received: by 10.140.175.7 with SMTP id v7mr36328579qhv.103.1453157980767; Mon, 18 Jan 2016 14:59:40 -0800 (PST) Received: by 10.140.38.18 with HTTP; Mon, 18 Jan 2016 14:59:40 -0800 (PST) Reply-To: keith.wall@gmail.com In-Reply-To: <1453055693617-7636726.post@n2.nabble.com> References: <1453055693617-7636726.post@n2.nabble.com> Date: Mon, 18 Jan 2016 22:59:40 +0000 Message-ID: Subject: Re: Several issues with the Java Broker From: Keith W To: "users@qpid.apache.org" Content-Type: text/plain; charset=UTF-8 Hello On 17 January 2016 at 18:34, RatTac@web.de wrote: > Hi, > I'm having several problems with the Java broker: > > 1.) Reconnect functionality: > If I specify the reconnect:True option for my connection, the client tries > to reconnect to the broker if the connection is lost (which is correct). > However, as soon as the broker is back online and the client would be able > to connect, the client receives an exception "Virtual host '' is not > active". If I start the client again it is able to connect. If using the c++ > broker instead, everything is working fine. > The Java Broker has virtual hosts. A virtual host comprises its own independent name space: a set of exchanges, message queues, and all associated objects. The virtual host becomes ACTIVE once it is ready to perform messaging, and until that time a client trying to connect to it will be turned away with a connection close saying virtual host not active. The client should be configured to try again, after a short delay. Which AMQP client / version number are you using? Can you turn on a protocol trace in the client and include the details here and I will try and help? > 2.) Message user-Id > Using the java broker, the client seems to be able to set any user id. > However, the broker does not seem to reject messages with wrong user Ids > (i.e. user-Ids != connection.getAuthenticatedUsername()). Again, the c++ > broker correctly refuses messages with invalid Ids. > The Java Broker does support message authorisation but it is off by default (qpid.broker_msg_auth) and currently only supported by the AMQP 0-8..0-91 protocols. It would not be a lot of work to make the feature protocol neutral i.e AMQP 0-10 and AMQP 1.0 too. QPID-4356 describes the 0-10 gap. I see if I can find time to look at this for the quid-java-6.1 release (Q1 timeframe). > Am I just missing some options? > Regards > > > > -- > View this message in context: http://qpid.2158936.n2.nabble.com/Several-issues-with-the-Java-Broker-tp7636726.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org