diff options
| author | Robert Gemmell <robbie@apache.org> | 2011-07-07 15:12:26 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2011-07-07 15:12:26 +0000 |
| commit | 155ed9d858367d218e43144061b9c1225dd30e2b (patch) | |
| tree | 2434933cf45b0a7e890549897a89845e06dc5785 /java/test-profiles | |
| parent | fb841fd038349acf56b2246fed59e8efc41250fc (diff) | |
| download | qpid-python-155ed9d858367d218e43144061b9c1225dd30e2b.tar.gz | |
QPID-2815: refactor broker startup to present a clean interface interface for starting the broker within an existing application
Applied patch by Keith Wall and myself
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143870 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/test-profiles')
| -rw-r--r-- | java/test-profiles/default.testprofile | 4 | ||||
| -rw-r--r-- | java/test-profiles/internal.testprofile | 32 | ||||
| -rw-r--r-- | java/test-profiles/java.testprofile | 3 |
3 files changed, 35 insertions, 4 deletions
diff --git a/java/test-profiles/default.testprofile b/java/test-profiles/default.testprofile index df8148f787..85ab263f82 100644 --- a/java/test-profiles/default.testprofile +++ b/java/test-profiles/default.testprofile @@ -20,11 +20,9 @@ java.naming.factory.initial=org.apache.qpid.jndi.PropertiesFileInitialContextFac java.naming.provider.url=${test.profiles}/test-provider.properties broker.version=0-8 -broker=vm +broker.type=vm broker.clean=${test.profiles}/clean-dir ${build.data} ${project.root}/build/work broker.ready=Listening on TCP port -broker.start=${test.profiles}/start-broker -broker.kill=${test.profiles}/kill-broker broker.config=${project.root}/build/etc/config-systests.xml messagestore.class.name=org.apache.qpid.server.store.MemoryMessageStore diff --git a/java/test-profiles/internal.testprofile b/java/test-profiles/internal.testprofile new file mode 100644 index 0000000000..df544b1a20 --- /dev/null +++ b/java/test-profiles/internal.testprofile @@ -0,0 +1,32 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +broker.language=java +broker.type=internal +#broker.command only used for the second broker during failover tests in this profile +broker.command=${project.root}/build/bin/qpid-server -p @PORT -m @MPORT @EXCLUDES -c @CONFIG_FILE -l ${test.profiles}/log4j-test.xml +#broker.command=${project.root}/build/bin/qpid-server -p @PORT -m @MPORT --exclude-0-10 @PORT -c @CONFIG_FILE -l ${test.profiles}/log4j-test.xml +broker.clean=${test.profiles}/clean-dir ${build.data} ${project.root}/build/work +broker.ready=BRK-1004 +broker.stopped=Exception +broker.protocols.excludes=--exclude-0-10 @PORT +# +# Do not enable. Allow client to attempt 0-10 and negotiate downwards +# +#qpid.amqp.version=0-91 +profile.excludes=JavaTransientExcludes JavaStandaloneExcludes 08StandaloneExcludes diff --git a/java/test-profiles/java.testprofile b/java/test-profiles/java.testprofile index c8c776d3e1..00d486309f 100644 --- a/java/test-profiles/java.testprofile +++ b/java/test-profiles/java.testprofile @@ -17,7 +17,8 @@ # under the License. # broker.language=java -broker=${project.root}/build/bin/qpid-server -p @PORT -m @MPORT --exclude-0-10 @PORT -c @CONFIG_FILE -l ${test.profiles}/log4j-test.xml +broker.type=spawned +broker.command=${project.root}/build/bin/qpid-server -p @PORT -m @MPORT --exclude-0-10 @PORT -c @CONFIG_FILE -l ${test.profiles}/log4j-test.xml broker.clean=${test.profiles}/clean-dir ${build.data} ${project.root}/build/work broker.ready=BRK-1004 broker.stopped=Exception |
