[teiid-commits] teiid SVN: r3848 - branches/7.7.x/connectors/sandbox/connector-coherence/src/test/resources.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Mon Feb 6 11:57:51 EST 2012


Author: van.halbert
Date: 2012-02-06 11:57:50 -0500 (Mon, 06 Feb 2012)
New Revision: 3848

Added:
   branches/7.7.x/connectors/sandbox/connector-coherence/src/test/resources/coherence-ds.xml
Log:
adding datasource example

Added: branches/7.7.x/connectors/sandbox/connector-coherence/src/test/resources/coherence-ds.xml
===================================================================
--- branches/7.7.x/connectors/sandbox/connector-coherence/src/test/resources/coherence-ds.xml	                        (rev 0)
+++ branches/7.7.x/connectors/sandbox/connector-coherence/src/test/resources/coherence-ds.xml	2012-02-06 16:57:50 UTC (rev 3848)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+
+   <no-tx-connection-factory>
+      <!-- The jndi name of the DataSource -->
+      <jndi-name>CoherenceDS</jndi-name>
+      
+      <!-- The resource archive file that defines JCA connection for Coherence  -->
+      <rar-name>connector-coherence-7.7.0.CR1.rar</rar-name>
+      <!-- connection interface; (do not change this) -->
+      <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>     
+      
+            <!-- Coherence Cache Name (required)-->
+      <config-property name="CacheName">Trades</config-property>
+       
+           <!-- Coherence Object Translator Class Name (required)-->
+      <config-property name="CacheTranslatorClassName">org.teiid.translator.coherence.TradesCacheSource</config-property>
+
+      <max-pool-size>20</max-pool-size>
+
+    </no-tx-connection-factory>
+
+</connection-factories>
\ No newline at end of file



More information about the teiid-commits mailing list