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 B28921107B for ; Tue, 10 Jun 2014 14:12:19 +0000 (UTC) Received: (qmail 15910 invoked by uid 500); 10 Jun 2014 14:12:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 15862 invoked by uid 500); 10 Jun 2014 14:12:18 -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 15851 invoked by uid 99); 10 Jun 2014 14:12:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2014 14:12:18 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2014 14:12:14 +0000 Received: by mail-lb0-f175.google.com with SMTP id l4so3907375lbv.6 for ; Tue, 10 Jun 2014 07:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=f6kHS/wZUcnGtT7FjVUNx0If1aqFJv+A5wZmnI41ZGA=; b=sF1TXfKoU4VKYk2ErVHUlv5Cse0x/vaZhPfpk5CzRHlcyYDUEXFNZTQfnKsemmdJFA vA0za4gE1J+ihZuiO+s5yswmL9YL3K4Pj07zqM3OsPfRVhkqf8Kvj1liwQ2a2MKMs1LF cuJtkSKIn7SeLTfPSzU74FxZbZTgH5UfWivAbns8EDOK/EuMXZFD3+J2STSlC5fYFgT9 A8mLZWUQK+VDQvUzwz2npYztReuqsBipoygod18ryRFkKLhtcKURWhMeYxnD58Mz7gth kGQ5awNaSHdIYbFPvl6HBdETXeYUXaqX/6IK6Mq9i9EMeuI7TZmNkTigcozxn/qU9Nn5 AH3Q== MIME-Version: 1.0 X-Received: by 10.152.6.37 with SMTP id x5mr22796146lax.15.1402409513170; Tue, 10 Jun 2014 07:11:53 -0700 (PDT) Received: by 10.112.150.225 with HTTP; Tue, 10 Jun 2014 07:11:53 -0700 (PDT) In-Reply-To: <1401912402825-4681683.post@n4.nabble.com> References: <1401912402825-4681683.post@n4.nabble.com> Date: Tue, 10 Jun 2014 07:11:53 -0700 Message-ID: Subject: Re: CreateConsumer BrokerException: User guest is not authorized From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e01494026dcc02704fb7be879 X-Virus-Checked: Checked by ClamAV on apache.org --089e01494026dcc02704fb7be879 Content-Type: text/plain; charset=UTF-8 May want to also check activemq authorization plugin: http://activemq.apache.org/security.html On Wed, Jun 4, 2014 at 1:06 PM, TraceyMacias < tracey.macias@hamiltoncompany.com> wrote: > I am getting the BrokerException on CreateConsumer() for 'User guest is not > authorized to create: topic://MBS.EVENTS > I can create the ConnectionFactory() and the Connection object > I can create a session on the Connection and retrieve the destination for > the Topic via GetDestination() > > I do not know how to set thye security (obviously) for guest ... > > My class library (assembly) referencing the Apache.NMS.ActiveMQ has the > configuration > > > value="activemq:tcp://127.0.0.1:61616?connection.AsyncClose=false"> > > > > > value="activemq:tcp://127.0.0.1:61616?connection.AsyncClose=false"> > > > > > > > > > BUT where should this xml file live? or do I need a different file? and > what > should the name be? > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/CreateConsumer-BrokerException-User-guest-is-not-authorized-tp4681683.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e01494026dcc02704fb7be879--