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 8CEDD1850A for ; Sun, 31 Jan 2016 22:09:03 +0000 (UTC) Received: (qmail 22554 invoked by uid 500); 31 Jan 2016 22:09:03 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 22518 invoked by uid 500); 31 Jan 2016 22:09:03 -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 22507 invoked by uid 99); 31 Jan 2016 22:09:03 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jan 2016 22:09:03 +0000 Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 13D661A00EA for ; Sun, 31 Jan 2016 22:09:02 +0000 (UTC) Received: by mail-vk0-f48.google.com with SMTP id e185so67227218vkb.1 for ; Sun, 31 Jan 2016 14:09:02 -0800 (PST) X-Gm-Message-State: AG10YORiW/dU/XFYX6hEtbD2SfXDfpoNDclhx38BCunlMDnNl2MIRhkmleL6GH6s7cPcBDzeUhNHPqIe2d6wjQ== MIME-Version: 1.0 X-Received: by 10.31.141.2 with SMTP id p2mr14023008vkd.37.1454278141783; Sun, 31 Jan 2016 14:09:01 -0800 (PST) Received: by 10.31.162.214 with HTTP; Sun, 31 Jan 2016 14:09:01 -0800 (PST) In-Reply-To: References: Date: Sun, 31 Jan 2016 17:09:01 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Unit/integration test example? From: "Alex O'Ree" To: users@qpid.apache.org Content-Type: text/plain; charset=UTF-8 I've made some progress using 6.0.0. org.apache.qpid.server.Broker broker = new Broker(); BrokerOptions options = new BrokerOptions(); options.setManagementModeHttpPortOverride(9090); options.setManagementModeJmxPortOverride(9099); options.setManagementMode(false); options.setStartupLoggedToSystemOut(true); broker.startup(options); The issue is that I have a port conflict on port 8080 and setting the ManagementModeHttpPortOverride doesn't seem to be honored. Any ideas? On Sun, Jan 31, 2016 at 4:07 PM, Alex O'Ree wrote: > I'm working on a project that needs to fire up a qpid java broker, > send some messages, wait for replies, then shutdown, in the context of > a java unit test in maven. I saw that this used to be possible on SO > at one point. Anyhow, is there any examples on how to do this? Perhaps > I could reuse one of the existing unit tests from qpid? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org