You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2009/06/04 09:52:03 UTC
svn commit: r781675 - in
/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se:
pom.xml src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java
Author: ffang
Date: Thu Jun 4 07:52:03 2009
New Revision: 781675
URL: http://svn.apache.org/viewvc?rev=781675&view=rev
Log:
[SMXCOMP-550]avoid starting unnecessary random port
Modified:
servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/pom.xml
servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java
Modified: servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/pom.xml?rev=781675&r1=781674&r2=781675&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/pom.xml (original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/pom.xml Thu Jun 4 07:52:03 2009
@@ -132,6 +132,11 @@
</exclusion>
</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>
Modified: servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java?rev=781675&r1=781674&r2=781675&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java (original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpoint.java Thu Jun 4 07:52:03 2009
@@ -364,6 +364,7 @@
sfForSoapBinding.setServiceBean(getPojo());
sfForSoapBinding.getServiceFactory().setPopulateFromClass(true);
sfForSoapBinding.setStart(false);
+ sfForSoapBinding.setAddress("local://dummy");
soapBindingServer = sfForSoapBinding.create();
}
Message message = soapBindingServer.getEndpoint().getBinding().createMessage();
@@ -546,9 +547,7 @@
mth.invoke(pojo, new Object[] {context});
}
} catch (Exception e) {
- logger
- .debug("Unable to inject ComponentContext: "
- + e.getMessage());
+ //setContext is optional for the pojo
}
}