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 AEE8D17F81 for ; Mon, 6 Oct 2014 15:12:43 +0000 (UTC) Received: (qmail 7953 invoked by uid 500); 6 Oct 2014 15:12:43 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 7914 invoked by uid 500); 6 Oct 2014 15:12:43 -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 7722 invoked by uid 99); 6 Oct 2014 15:12:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 15:12:42 +0000 X-ASF-Spam-Status: No, hits=3.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tbain98@gmail.com designates 209.85.216.49 as permitted sender) Received: from [209.85.216.49] (HELO mail-qa0-f49.google.com) (209.85.216.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 15:12:38 +0000 Received: by mail-qa0-f49.google.com with SMTP id f12so3582527qad.22 for ; Mon, 06 Oct 2014 08:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=qurvfqEVpsHR0dFHcYCibLWTgZPvf5E9T9n0bb5DbPQ=; b=ESfzMVCi4IUYSn8Wi62Lb8YT4ZOLYM/on1dEDfSTsm5Hdb11onsGO91wOBK9Qu/ObM D9zRXGMmXV4kY5GzK5nuOzF+BoO2ocU6GHXLXiZQejlINKdkQ7Bx52ekoBSeVG1MzLOm xQv1tmqdKVyBQxtykGYsOHDQyoWhXnecduzQHUsBHGuiw3HpefQEpaXwITuaAfjFWgYz c+MNF5wF8AzyP2NIBmKuhj8k5MtudubEjEQHsa4KUCsC+p3lzDD2i71zP7vKGh7k1E/A ZIcthYb8TPpLQI+3qYg8SsLkS4ijqBkeTfMHMDYRfBUqRkeLBbL0IuH7WtcloyJMObtp 5Fcg== X-Received: by 10.140.35.234 with SMTP id n97mr27896025qgn.11.1412608337431; Mon, 06 Oct 2014 08:12:17 -0700 (PDT) MIME-Version: 1.0 Sender: tbain98@gmail.com Received: by 10.229.158.17 with HTTP; Mon, 6 Oct 2014 08:11:57 -0700 (PDT) In-Reply-To: <1412579550371-4686154.post@n4.nabble.com> References: <1412230623983-4686081.post@n4.nabble.com> <1412579550371-4686154.post@n4.nabble.com> From: Tim Bain Date: Mon, 6 Oct 2014 09:11:57 -0600 X-Google-Sender-Auth: _uyuFDY-U4A7_dNGtbGfyDyk4CU Message-ID: Subject: Re: How to change the default port (1099) used by ActiveMq in apache camel? To: ActiveMQ Users Content-Type: multipart/alternative; boundary=001a11c00a8828d1720504c282be X-Virus-Checked: Checked by ClamAV on apache.org --001a11c00a8828d1720504c282be Content-Type: text/plain; charset=UTF-8 You need to set the connectorPort property on the ManagementContext to the port number you want to use, as described in http://activemq.apache.org/jmx.html. It doesn't go in the URI that the clients use to connect to the broker; that's a different port entirely. On Mon, Oct 6, 2014 at 1:12 AM, Avinash wrote: > Yes, there is another application running on port 1099 and so I want my app > to use some other port. > But not sure where to change the port number. > > I tried giving in the VM url as below but of no use. It always picks 1099 > > vm://localhost:4000?broker.persistent=false&broker.useJmx=true > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-to-change-the-default-port-1099-used-by-ActiveMq-in-apache-camel-tp4686081p4686154.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > --001a11c00a8828d1720504c282be--