summaryrefslogtreecommitdiffstats
path: root/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml')
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml100
1 files changed, 0 insertions, 100 deletions
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml
deleted file mode 100644
index 7ba4e94a60..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE beans PUBLIC "-//ACTIVEMQ//DTD//EN" "http://activemq.org/dtd/activemq.dtd">
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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.
- -->
-<beans>
-
- <!-- ==================================================================== -->
- <!-- ActiveMQ Broker Configuration -->
- <!-- ==================================================================== -->
- <broker>
- <connector>
- <tcpServerTransport uri="tcp://localhost:61616" backlog="1000" useAsyncSend="true" maxOutstandingMessages="50"/>
- </connector>
-
- <!-- to enable Stomp support uncomment this
- <connector>
- <serverTransport uri="stomp://localhost:61626"/>
- </connector>
- -->
-
- <persistence>
- <cachePersistence>
- <journalPersistence directory="../var/journal">
- <jdbcPersistence dataSourceRef="derby-ds"/>
-
- <!-- Choose one of the following three configurationss to work with mysql-ds-->
- <!--
- <jdbcPersistence dataSourceRef="mysql-ds"
- adapterClass="org.activemq.store.jdbc.adapter.BytesJDBCAdaptor"/>
- <jdbcPersistence dataSourceRef="mysql-ds"
- adapterClass="org.activemq.store.jdbc.adapter.BlobJDBCAdaptor"/>
- <jdbcPersistence dataSourceRef="mysql-ds"
- adapterClass="org.activemq.store.jdbc.adapter.StreamJDBCAdaptor"/>
- -->
- </journalPersistence>
- </cachePersistence>
- </persistence>
- </broker>
-
- <!-- ==================================================================== -->
- <!-- JDBC DataSource Configurations -->
- <!-- ==================================================================== -->
-
- <!-- The Derby Datasource that will be used by the Broker -->
- <bean id="derby-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
- <property name="driverClassName">
- <value>org.apache.derby.jdbc.EmbeddedDriver</value>
- </property>
- <property name="url">
- <!-- Use a URL like 'jdbc:hsqldb:hsql://localhost:9001' if you want to connect to a remote hsqldb -->
- <value>jdbc:derby:derbydb;create=true</value>
- </property>
- <property name="username">
- <value></value>
- </property>
- <property name="password">
- <value></value>
- </property>
- <property name="poolPreparedStatements">
- <value>true</value>
- </property>
- </bean>
-
- <!-- The MYSQL Datasource that will be used by the Broker -->
- <bean id="mysql-ds"
- class="org.apache.commons.dbcp.BasicDataSource"
- destroy-method="close">
- <property name="driverClassName">
- <value>com.mysql.jdbc.Driver</value>
- </property>
- <property name="url">
- <value>jdbc:mysql://localhost/activemq</value>
- </property>
- <property name="username">
- <value>myname</value>
- </property>
- <property name="password">
- <value>mypassword</value>
- </property>
- <property name="poolPreparedStatements">
- <value>true</value>
- </property>
- </bean>
-
-
-</beans>
-