This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new f980276  Fix Starup error because file:target/custom.properties is 
missing
f980276 is described below

commit f980276885f621821307706f8c496cc64f320b39
Author: free-ice <80969714+free-...@users.noreply.github.com>
AuthorDate: Wed May 5 18:44:59 2021 -0400

    Fix Starup error because file:target/custom.properties is missing
---
 .../cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/examples/cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml 
b/examples/cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml
index 2825916..6a9d618 100644
--- a/examples/cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml
+++ b/examples/cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml
@@ -57,7 +57,8 @@
   <camelContext xmlns="http://camel.apache.org/schema/spring";>
 
     <!-- property which contains port number -->
-    <propertyPlaceholder id="properties" 
location="classpath:incident.properties,file:target/custom.properties"/>
+    <propertyPlaceholder id="properties" 
location="classpath:incident.properties,file:target/custom.properties"
+                         ignoreMissingLocation="true"/>
 
     <endpoint id="callRealWebService" 
uri="http://localhost:${real.port}/real-webservice?throwExceptionOnFailure=false"/>
 
@@ -79,4 +80,4 @@
   </camelContext>
 
 </beans>
-<!-- END SNIPPET: e1 -->
\ No newline at end of file
+<!-- END SNIPPET: e1 -->

Reply via email to