User: chirino
Date: 02/01/08 14:27:15
Modified: src/main/org/jboss/metadata MessageDrivenMetaData.java
Log:
I now look for a <mdb-subscription-id> element in jboss.xml to tell what the
durable subsctiption id is. It used to be placed in
the <mdb-client-id> element, but that was incorrect as the clientId and
subscriptionId fields do not have to match.
Revision Changes Path
1.17 +7 -1 jboss/src/main/org/jboss/metadata/MessageDrivenMetaData.java
Index: MessageDrivenMetaData.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/metadata/MessageDrivenMetaData.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- MessageDrivenMetaData.java 2001/11/26 03:17:48 1.16
+++ MessageDrivenMetaData.java 2002/01/08 22:27:15 1.17
@@ -30,7 +30,7 @@
* </ul>
* </p>
*
- * @version $Revision: 1.16 $
+ * @version $Revision: 1.17 $
*/
public class MessageDrivenMetaData
extends BeanMetaData
@@ -55,6 +55,7 @@
private String user;
private String passwd;
private String clientId;
+ private String subscriptionId;
// Static --------------------------------------------------------
@@ -125,6 +126,10 @@
public String getClientId() {
return clientId;
}
+
+ public String getSubscriptionId() {
+ return subscriptionId;
+ }
/**
* Check MDB methods TX type, is cached here
@@ -279,6 +284,7 @@
user = getOptionalChildContent(element, "mdb-user");
passwd = getOptionalChildContent(element,"mdb-passwd");
clientId = getOptionalChildContent(element,"mdb-client-id");
+ subscriptionId = getOptionalChildContent(element,"mdb-subscription-id");
}
// Package protected ---------------------------------------------
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development