Author: ningjiang
Date: Mon Apr 15 06:08:08 2013
New Revision: 1467857
URL: http://svn.apache.org/r1467857
Log:
CAMEL-6278 Fixed the start up error of camel-example-reportincident-wssecurity
Modified:
camel/trunk/examples/camel-example-reportincident-wssecurity/README.txt
camel/trunk/examples/camel-example-reportincident-wssecurity/pom.xml
camel/trunk/examples/camel-example-reportincident-wssecurity/src/main/resources/META-INF/spring/camel-context.xml
Modified:
camel/trunk/examples/camel-example-reportincident-wssecurity/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-wssecurity/README.txt?rev=1467857&r1=1467856&r2=1467857&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident-wssecurity/README.txt
(original)
+++ camel/trunk/examples/camel-example-reportincident-wssecurity/README.txt Mon
Apr 15 06:08:08 2013
@@ -47,11 +47,11 @@ To run the example on Apache ServiceMix
osgi:install -s mvn:org.apache.camel/camel-example-reportincident-wssecurity
4) Verify that your service is available using in the browser the following
url
- http://localhost:9080/camel-example-reportincident/webservices/incident?wsdl
+ http://localhost:9081/camel-example-reportincident/webservices/incident?wsdl
5) Start SOAPUI (2.x)
Create a new project called camel-example-reportincident-wssecurity
- Point to the following url :
http://localhost:9080/camel-example-reportincident/webservices/incident?wsdl
+ Point to the following url :
http://localhost:9081/camel-example-reportincident/webservices/incident?wsdl
Open the request 1 (under camel-example-reportincident-wssecurity -->
ReportIncidentBinding --> ReportIncident) and copy/paste the SOAP
message generated by the unit test
@@ -60,7 +60,7 @@ To run the example on Apache ServiceMix
2010-07-14 09:57:54,403 [main ] INFO LoggingOutInterceptor
- Outbound Message
---------------------------
ID: 1
- Address:
http://localhost:9080/camel-example-reportincident/webservices/incident
+ Address:
http://localhost:9081/camel-example-reportincident/webservices/incident
Encoding: UTF-8
Content-Type: text/xml
Headers:
{SOAPAction=["http://reportincident.example.camel.apache.org/ReportIncident"],
Accept=[*/*]}
Modified: camel/trunk/examples/camel-example-reportincident-wssecurity/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-wssecurity/pom.xml?rev=1467857&r1=1467856&r2=1467857&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident-wssecurity/pom.xml
(original)
+++ camel/trunk/examples/camel-example-reportincident-wssecurity/pom.xml Mon
Apr 15 06:08:08 2013
@@ -137,14 +137,12 @@
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<version>${cxf-version}</version>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>${velocity-version}</version>
- <scope>test</scope>
</dependency>
</dependencies>
@@ -174,19 +172,11 @@
</execution>
</executions>
</plugin>
-
- <!-- so we can run mvn jetty:run -->
+
<plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <configuration>
- <connectors>
- <connector
implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
- <port>9080</port>
- <maxIdleTime>60000</maxIdleTime>
- </connector>
- </connectors>
- </configuration>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-maven-plugin</artifactId>
+ <version>${project.version}</version>
</plugin>
<!-- to generate the MANIFEST-FILE of the bundle -->
Modified:
camel/trunk/examples/camel-example-reportincident-wssecurity/src/main/resources/META-INF/spring/camel-context.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-wssecurity/src/main/resources/META-INF/spring/camel-context.xml?rev=1467857&r1=1467856&r2=1467857&view=diff
==============================================================================
---
camel/trunk/examples/camel-example-reportincident-wssecurity/src/main/resources/META-INF/spring/camel-context.xml
(original)
+++
camel/trunk/examples/camel-example-reportincident-wssecurity/src/main/resources/META-INF/spring/camel-context.xml
Mon Apr 15 06:08:08 2013
@@ -74,7 +74,7 @@
<camel:camelContext id="camel">
<!-- property which contains port number -->
- <camel:propertyPlaceholder id="properties"
location="classpath:incident.properties,file:target/custom.properties"/>
+ <camel:propertyPlaceholder id="properties" ignoreMissingLocation="true"
location="classpath:incident.properties,file:target/custom.properties"/>
<camel:route>
<camel:from uri="cxf:bean:reportIncident"/>