servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r582759 - /incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/SimpleDestinationChooser.java
Date Mon, 08 Oct 2007 09:30:16 GMT
Author: gnodet
Date: Mon Oct  8 02:30:15 2007
New Revision: 582759

URL: http://svn.apache.org/viewvc?rev=582759&view=rev
Log:
SM-1094: add type java.lang.String to the SimpleDestinationChooser.chooseDestination method

Modified:
    incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/SimpleDestinationChooser.java

Modified: incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/SimpleDestinationChooser.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/SimpleDestinationChooser.java?rev=582759&r1=582758&r2=582759&view=diff
==============================================================================
--- incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/SimpleDestinationChooser.java
(original)
+++ incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/SimpleDestinationChooser.java
Mon Oct  8 02:30:15 2007
@@ -52,6 +52,9 @@
         if (property instanceof Destination) {
             return (Destination) property;
         }
+        if (property instanceof String) {
+            return (String) property;
+        }
         if (getDefaultDestination() != null) {
             return getDefaultDestination();
         }



Mime
View raw message