User: hiram
Date: 01/02/20 21:07:48
Modified: src/resources/mdb/META-INF ejb-jar.xml jboss.xml
Log:
Added a test to the MDB suite: Check to see if ObjectMessages are received correctly
(and the results were that they were not)
Revision Changes Path
1.3 +22 -0 jbosstest/src/resources/mdb/META-INF/ejb-jar.xml
Index: ejb-jar.xml
===================================================================
RCS file: /products/cvs/ejboss/jbosstest/src/resources/mdb/META-INF/ejb-jar.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ejb-jar.xml 2001/01/07 23:14:46 1.2
+++ ejb-jar.xml 2001/02/21 05:07:47 1.3
@@ -9,6 +9,28 @@
<ejb-jar>
<enterprise-beans>
+
+ <message-driven>
+ <ejb-name>ObjectMessageBean</ejb-name>
+ <ejb-class>org.jboss.test.mdb.bean.ObjectMessageBean</ejb-class>
+<!--
+ <jms-message-selector>JMSType='activityCompletion'</jms-message-selector>
+-->
+ <jms-message-selector></jms-message-selector>
+ <!-- We also have the acknowledge-mode - AUTO_ACKNOWLEDGE |
DUPS_OK_AKNOWLEDGE - for bean managed transactions, and the subscription-durability
for topic destination types -->
+ <transaction-type>Bean</transaction-type>
+ <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
+
+ <message-driven-destination>
+ <jms-destination-type>javax.jms.Queue</jms-destination-type>
+<!--
+Only with topic
+ <subscription-durability>Durable</subscription-durability>
+-->
+<subscription-durability>NonDurable</subscription-durability>
+ </message-driven-destination>
+ </message-driven>
+
<message-driven>
<ejb-name>QueueBean</ejb-name>
<ejb-class>org.jboss.test.mdb.bean.QueueBean</ejb-class>
1.5 +5 -0 jbosstest/src/resources/mdb/META-INF/jboss.xml
Index: jboss.xml
===================================================================
RCS file: /products/cvs/ejboss/jbosstest/src/resources/mdb/META-INF/jboss.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- jboss.xml 2001/02/14 03:49:13 1.4
+++ jboss.xml 2001/02/21 05:07:47 1.5
@@ -2,6 +2,11 @@
<jboss>
<enterprise-beans>
<message-driven>
+ <ejb-name>ObjectMessageBean</ejb-name>
+ <configuration-name>Standard Message Driven Bean</configuration-name>
+ <destination-jndi-name>queue/testObjectMessage</destination-jndi-name>
+ </message-driven>
+ <message-driven>
<ejb-name>QueueBean</ejb-name>
<configuration-name>Standard Message Driven Bean</configuration-name>
<destination-jndi-name>queue/testQueue</destination-jndi-name>