From 5659f4dbd422fb2746135497d2819ebb307bdf44 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Mon, 14 Feb 2011 15:21:44 +0000 Subject: QPID-3055 As the first step added system properties for host, port and address and got rid of the jndi lookup. There is also a system property for URL which allows a user to specify a fully fledged URL with various connection options like SSL etc.. If the host & port is specified the URL property is ignored. I also added some documentation in the perf_report.sh suggesting recommended settings for performance testing. These are guidelines only and a prospective user needs to experiment with their environment to fine tune the settings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1070519 13f79535-47bb-0310-9956-ffa450edef68 --- java/tools/etc/jndi.properties | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 java/tools/etc/jndi.properties (limited to 'java/tools/etc') diff --git a/java/tools/etc/jndi.properties b/java/tools/etc/jndi.properties deleted file mode 100644 index 454551c1b1..0000000000 --- a/java/tools/etc/jndi.properties +++ /dev/null @@ -1,35 +0,0 @@ -# -# 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. -# -java.naming.factory.initial = org.apache.qpid.jndi.PropertiesFileInitialContextFactory - -# use the following property to configure the default connector -#java.naming.provider.url - ignored. - -# register some connection factories -# connectionfactory.[jndiname] = [ConnectionURL] -connectionfactory.connectionFactory = amqp://guest:guest@clientid/testpath?brokerlist='tcp://localhost:5672' - -# Register an AMQP destination in JNDI -destination.transientQueue = BURL:direct://amq.direct//testQueueT?autodelete='true' -destination.durableQueue = BURL:direct://amq.direct//testQueueD?durable='true'&autodelete='true' - -destination.transientTopic = BURL:topic://amq.topic//testTopicT?autodelete='true' -destination.durableTopic = BURL:topic://amq.topic//testTopicD?durable='true'&autodelete='true'&clientid='test'&subscription='testQueueD' - -destination.fanoutQueue = BURL:fanout://amq.fanout//fanoutQueue?autodelete='true' -- cgit v1.2.1