There is no *-ds.xml for an inbound resource adaptor as the integration point 
is an MDB.  See the testsuite/src/jca/{inflow,inflowmdb} and associated source 
for an example. The testsuite is part of the source download.

ejb-jar.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee";
  |          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  |          http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";
  |          version="2.1">
  | 
  |    <enterprise-beans>
  | 
  |       <message-driven>
  |          <ejb-name>TestMDB</ejb-name>
  |          
<ejb-class>org.jboss.test.jca.inflowmdb.TestMDBMessageListener</ejb-class>
  |          
<messaging-type>org.jboss.test.jca.inflow.TestMessageListener</messaging-type>
  |          <activation-config>
  |             <activation-config-property>
  |                
<activation-config-property-name>name</activation-config-property-name>
  |                
<activation-config-property-value>testInflow</activation-config-property-value>
  |             </activation-config-property>
  |             <!-- Other non-String properties to test the ActivationSpec 
java bean -->
  |             <activation-config-property>
  |                
<activation-config-property-name>anInt</activation-config-property-name>
  |                
<activation-config-property-value>5</activation-config-property-value>
  |             </activation-config-property>
  |             <activation-config-property>
  |                
<activation-config-property-name>anInteger</activation-config-property-name>
  |                
<activation-config-property-value>55</activation-config-property-value>
  |             </activation-config-property>
  |             <activation-config-property>
  |                
<activation-config-property-name>localhost</activation-config-property-name>
  |                
<activation-config-property-value>127.0.0.1</activation-config-property-value>
  |             </activation-config-property>
  |             <activation-config-property>
  |                
<activation-config-property-name>props</activation-config-property-name>
  |                <activation-config-property-value>
  |                   key1=value1
  |                   key2=value2
  |                   key3=value3
  |                </activation-config-property-value>
  |             </activation-config-property>
  |         </activation-config>
  |         <transaction-type>Container</transaction-type>
  |       </message-driven>
  | 
  |    </enterprise-beans>
  | 
  |    <assembly-descriptor>
  | 
  |       <container-transaction>
  |          <method>
  |             <ejb-name>TestMDB</ejb-name>
  |             <method-name>*</method-name>
  |          </method>
  |          <trans-attribute>Required</trans-attribute>
  |       </container-transaction>
  | 
  |    </assembly-descriptor>
  | 
  | </ejb-jar>
  | 

jboss.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <jboss>
  |    <enterprise-beans>
  |       <message-driven>
  |          <ejb-name>TestMDB</ejb-name>
  |          <resource-adapter-name>jcainflow.rar</resource-adapter-name>
  |       </message-driven>
  |    </enterprise-beans>
  | </jboss>
  | 

ra.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <connector xmlns="http://java.sun.com/xml/ns/j2ee";
  |            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |            xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  |            http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd";
  |            version="1.5">
  | 
  |    <description>Test Resource Adapter for new jca 1.5 features</description>
  |    <display-name>Inflow Test Resource Adapter</display-name>
  |    <vendor-name>JBoss, Inc</vendor-name>
  |    <eis-type>JBoss Testsuite</eis-type>
  |    <resourceadapter-version>4.0</resourceadapter-version>
  | 
  |    <license>
  |       <description>
  |       COPYRIGHT AND PERMISSION NOTICE
  |       Copyright (c) 2004 JBoss, Inc
  |       This is released under the terms of the LGPL.
  |       See gnu.org for details.
  |       </description>
  |       <license-required>true</license-required>
  |    </license>
  | 
  |    <resourceadapter>
  |       
<resourceadapter-class>org.jboss.test.jca.inflow.TestResourceAdapter</resourceadapter-class>
  | 
  |       <inbound-resourceadapter>
  |          <messageadapter>        
  |             <messagelistener>
  |                
<messagelistener-type>org.jboss.test.jca.inflow.TestMessageListener</messagelistener-type>
  |                <activationspec>
  |                   
<activationspec-class>org.jboss.test.jca.inflow.TestActivationSpec</activationspec-class>
  |                   <required-config-property>
  |                      <config-property-name>name</config-property-name>
  |                   </required-config-property>
  |                   <required-config-property>
  |                      <description>An int between 1-10</description>
  |                      <config-property-name>anInt</config-property-name>
  |                   </required-config-property>
  |                   <required-config-property>
  |                      <description>An Integer between 50-100</description>
  |                      <config-property-name>anInteger</config-property-name>
  |                   </required-config-property>
  |                   <required-config-property>
  |                      <description>The 127.0.0.1 address</description>
  |                      <config-property-name>localhost</config-property-name>
  |                   </required-config-property>
  |                   <required-config-property>
  |                      <description>java.util.Properties of the form 
key1=*;key2=*;...</description>
  |                      <config-property-name>props</config-property-name>
  |                   </required-config-property>
  |                </activationspec>
  |             </messagelistener>
  |          </messageadapter>
  |       </inbound-resourceadapter>
  | 
  |    </resourceadapter>
  | </connector>
  | 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858436#3858436

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858436


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to