servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r781684 - in /servicemix/components/engines/servicemix-cxf-se/trunk: pom.xml src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java
Date Thu, 04 Jun 2009 08:34:13 GMT
Author: ffang
Date: Thu Jun  4 08:34:13 2009
New Revision: 781684

URL: http://svn.apache.org/viewvc?rev=781684&view=rev
Log:
[SMXCOMP-550]avoid starting unnecessary random port

Modified:
    servicemix/components/engines/servicemix-cxf-se/trunk/pom.xml
    servicemix/components/engines/servicemix-cxf-se/trunk/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java

Modified: servicemix/components/engines/servicemix-cxf-se/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-cxf-se/trunk/pom.xml?rev=781684&r1=781683&r2=781684&view=diff
==============================================================================
--- servicemix/components/engines/servicemix-cxf-se/trunk/pom.xml (original)
+++ servicemix/components/engines/servicemix-cxf-se/trunk/pom.xml Thu Jun  4 08:34:13 2009
@@ -151,6 +151,11 @@
       </exclusions>
     </dependency>
     <dependency>
+        <groupId>org.apache.cxf</groupId>
+        <artifactId>cxf-rt-transports-local</artifactId>
+        <version>${cxf-version}</version>
+    </dependency>
+    <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-bindings-jbi</artifactId>
       <version>${cxf-version}</version>

Modified: servicemix/components/engines/servicemix-cxf-se/trunk/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-cxf-se/trunk/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java?rev=781684&r1=781683&r2=781684&view=diff
==============================================================================
--- servicemix/components/engines/servicemix-cxf-se/trunk/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java
(original)
+++ servicemix/components/engines/servicemix-cxf-se/trunk/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java
Thu Jun  4 08:34:13 2009
@@ -358,6 +358,7 @@
                         //sfForSoapBinding.setAddress("http://dummyaddress");
                         sfForSoapBinding.getServiceFactory().setPopulateFromClass(true);
                         sfForSoapBinding.setStart(false);
+                        sfForSoapBinding.setAddress("local://dummy");
                         soapBindingServer = sfForSoapBinding.create();
                     }
                     Message message = soapBindingServer.getEndpoint().getBinding().createMessage();
@@ -530,7 +531,7 @@
                 mth.invoke(pojo, new Object[] {context});
             }
         } catch (Exception e) {
-            logger.debug("Unable to inject ComponentContext: " + e.getMessage());
+            //setContext is optional for the pojo
         }
 
     }



Mime
View raw message