servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1195886 - /servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixProducer.java
Date Tue, 01 Nov 2011 09:19:07 GMT
Author: ffang
Date: Tue Nov  1 09:19:07 2011
New Revision: 1195886

URL: http://svn.apache.org/viewvc?rev=1195886&view=rev
Log:
[SMX4-943]Camel NMR producer is not registered with its keyName but using the UUID

Modified:
    servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixProducer.java

Modified: servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixProducer.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixProducer.java?rev=1195886&r1=1195885&r2=1195886&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixProducer.java
(original)
+++ servicemix/smx4/features/trunk/camel/servicemix-camel/src/main/java/org/apache/servicemix/camel/nmr/ServiceMixProducer.java
Tue Nov  1 09:19:07 2011
@@ -176,7 +176,7 @@ public class ServiceMixProducer extends 
      */
     private Map<String,Object> createEndpointMap() {
         return ServiceHelper.createMap(org.apache.servicemix.nmr.api.Endpoint.NAME,
-                ServiceMixProducer.class.getName() + "-" + UuidGenerator.getInstance(),
+                ServiceMixProducer.class.getName() + "-" + getEndpoint().getEndpointName(),
                 TARGET_ENDPOINT_NAME,
                 getEndpoint().getEndpointName());
 



Mime
View raw message