| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| - |
| - 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. |
| - |
| --> |
| <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd"> |
| <resources> |
| |
| |
| <resource-adapter-config name="QpidResourceAdapter" resource-adapter-name="qpid-ra-@rar.ver@" thread-pool-ids="thread-pool-1"> |
| <property name="TransactionManagerLocatorClass" value="org.apache.qpid.ra.tm.GlassfishTransactionManagerLocator"/> |
| <property name="TransactionManagerLocatorMethod" value="getTm"/> |
| </resource-adapter-config> |
| |
| <!--XAConnectionFactory--> |
| <connector-connection-pool |
| name="QpidJMSXAPool" |
| resource-adapter-name="qpid-ra-@rar.ver@" |
| connection-definition-name="org.apache.qpid.ra.QpidRAConnectionFactory" |
| transaction-support="XATransaction" |
| ping="true"> |
| <property name="connectionURL" value="@broker.url@"/> |
| <property name="SessionDefaultType" value="javax.jms.Queue"/> |
| </connector-connection-pool> |
| |
| <connector-resource jndi-name="QpidJMSXA" pool-name="QpidJMSXAPool"/> |
| |
| <!--LocalTransaction ConnectionFactory |
| <connector-connection-pool |
| name="QpidJMSPool" |
| resource-adapter-name="qpid-ra-@rar.ver@" |
| connection-definition-name="org.apache.qpid.ra.QpidRAConnectionFactory" |
| transaction-support="LocalTransaction" |
| ping="true"> |
| <property name="connectionURL" value="@broker.url@"/> |
| <property name="SessionDefaultType" value="javax.jms.Queue"/> |
| <property name="UseLocalTx" value="true"/> |
| </connector-connection-pool> |
| |
| |
| <connector-resource jndi-name="QpidJMS" pool-name="QpidJMSPool"/> |
| |
| --> |
| <!--Destinations--> |
| <admin-object-resource jndi-name="HelloQueue" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidQueue" class-name="org.apache.qpid.ra.admin.QpidQueueImpl"> |
| <property name="DestinationAddress" value="@qpid.hello.queue.dest.address@"/> |
| </admin-object-resource> |
| |
| <admin-object-resource jndi-name="GoodByeQueue" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidQueue" class-name="org.apache.qpid.ra.admin.QpidQueueImpl"> |
| <property name="DestinationAddress" value="@qpid.goodbye.queue.dest.address@"/> |
| </admin-object-resource> |
| |
| <admin-object-resource jndi-name="HelloTopic" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidTopic" class-name="org.apache.qpid.ra.admin.QpidTopicImpl"> |
| <property name="DestinationAddress" value="@qpid.hello.topic.dest.address@"/> |
| </admin-object-resource> |
| |
| <admin-object-resource jndi-name="GoodByeTopic" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidTopic" class-name="org.apache.qpid.ra.admin.QpidTopicImpl"> |
| <property name="DestinationAddress" value="@qpid.goodbye.topic.dest.address@"/> |
| </admin-object-resource> |
| |
| <!-- |
| <admin-object-resource jndi-name="HelloGoodByeTopic" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidTopic" class-name="org.apache.qpid.ra.admin.QpidTopicImpl"> |
| <property name="DestinationAddress" value="@qpid.hellogoodbye.topic.dest.address@"/> |
| </admin-object-resource> |
| --> |
| <admin-object-resource jndi-name="QpidRequestQueue" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidQueue" class-name="org.apache.qpid.ra.admin.QpidQueueImpl"> |
| <property name="DestinationAddress" value="@qpid.request.queue.dest.address@"/> |
| </admin-object-resource> |
| |
| <admin-object-resource jndi-name="QpidResponseQueue" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidQueue" class-name="org.apache.qpid.ra.admin.QpidQueueImpl"> |
| <property name="DestinationAddress" value="@qpid.response.queue.dest.address@"/> |
| </admin-object-resource> |
| |
| <admin-object-resource jndi-name="QpidConnectionFactory" res-adapter="qpid-ra-@rar.ver@" res-type="javax.jms.ConnectionFactory" class-name="org.apache.qpid.ra.admin.QpidConnectionFactoryProxy"> |
| <property name="ConnectionURL" value="@broker.url@"/> |
| </admin-object-resource> |
| |
| </resources> |