geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r240448 - /geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java
Date Sat, 27 Aug 2005 19:12:57 GMT
Author: djencks
Date: Sat Aug 27 12:12:55 2005
New Revision: 240448

URL: http://svn.apache.org/viewcvs?rev=240448&view=rev
Log:
Fix message-destination-refs with a # that we don't explicitly provide a geronimo descriptor
for

Modified:
    geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java

Modified: geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java?rev=240448&r1=240447&r2=240448&view=diff
==============================================================================
--- geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java
(original)
+++ geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java
Sat Aug 27 12:12:55 2005
@@ -357,6 +357,12 @@
                     }
                     linkName = destination.getAdminObjectLink().trim();
                 }
+            } else {
+                //well, we know for sure an admin object is not going to be defined in a
modules that can have a message-destination 
+                int pos = linkName.indexOf('#');
+                if (pos > -1) {
+                    linkName = linkName.substring(pos + 1);
+                }
             }
 
             //try to resolve ref based only matching resource-ref-name



Mime
View raw message