Questions tagged [property-placeholder]
77 questions
0
votes
1 answer
ignoreUnresolvablePlaceholders not working
I am using ignoreUnresolvablePlaceholders in my spring context.
as below.
-
…

saurabh mahajan
- 41
- 1
- 8
0
votes
1 answer
How to programmatically reset jQuery plugin 'intl-tel-input' to default placeholder
When using int-tel-input jQuery plugin, one sometimes needs to reset the placeholder to default. Is there a method like :
$('input').intlTelInput('setPlaceholder', 'myDefaultPlaceholder' );
which should be called after…

Stephen Adelakun
- 784
- 2
- 7
- 24
0
votes
1 answer
How do I escape ":" in Spring PropertyPlaceHolder
I need to specify an optional jvm argument as in:
@PropertySource({ "${config.file:classpath:config-file.properties}" })
But it doesn't works because of the second ":".
Can someone help me ?
Context: Spring 3.12.

Sebastião Santos
- 161
- 2
- 15
0
votes
2 answers
value placeholder in Domain classes
I have a maven project in Eclipse called TdkUtils, with this pom.xml: This is a utils project. So I want to create a jar, put it in the repository and use it in another projects.
I have this domain…

Nuñito Calzada
- 4,394
- 47
- 174
- 301
0
votes
2 answers
How to select several properties for specific name
I am working on a web project using Spring and Spring MVC.
I have a feature that is the same for 3 different elements (which are available in dropdown in view). Only two parameters change for each item. I decided to put these elements and…

Héloïse Chauvel
- 502
- 3
- 6
- 21
0
votes
1 answer
Spring property placeholders in application-context.xml inside dependency jar
For my spring boot application I use annotation based configuration and a WebApplicationInitalizer.
One of my dependencies provides a spring configuration in an xml, included in the jar. I use @ImportResource to load the context xml. This seems to…

mrMario
- 1
- 4
0
votes
1 answer
Apache Camel: How to use a Property placeholder to enable or disable a route?
I am new to Apache Camel, and have a problem statement in hand. I want to build a code where I can refer to the flags in the camel properties and allow a route to be enabled/disabled based on the flags availability in the properties file.
How do I…
0
votes
0 answers
Spring cloud config implementation along with spring boot PropertyPlaceholderConfigurer is not working
I am implementing the spring cloud config to externalise configurations in my application. I have spring boot application with property placeholder configurer already implemented in it. As later I have done changes related to spring cloud config, it…

Sapna Maid
- 89
- 11
0
votes
1 answer
Karaf v4.0.8 : Multiple Blueprints cannot load configuration from same persistent-id
Update: It took a little time to realize for some reason but I see that configuration files are bundle PID specific and by trying to load the same cfg file in blueprint within two different bundles, I was creating a race condition. Make sure you use…

saycat
- 11
- 3
0
votes
1 answer
Issue with property place holder
I have downloaded secure property place holder and secure encryption modules. But when i tried to open properties file by right clicking, i'm not getting mule property editor option to encrypt the properties inside.
can anybody assist me please...

Thiru
- 404
- 1
- 16
- 44
0
votes
1 answer
Spring-Boot-Starter-Parent in combination with "property-placeholder" in XML-based Spring configuration
In my POM I inherit from Spring Boot's "spring-boot-starter-parent":
org.springframework.boot
spring-boot-starter-parent
1.4.2.RELEASE
According to the…

Holger King
- 143
- 1
- 10
0
votes
1 answer
using property-placeholder with beanfactory in spring
With below XML configuration

Sujeet kumar
- 75
- 1
- 1
- 7
0
votes
0 answers
Spring 4.2.8 : Custom PropertyPlaceholderConfigurer not working
After a migration of the spring framework to 4.2.8 (since version 4.1.6), I can’t load the configuration via custom PropertyPlaceholder.

Lucas Pouzac
- 1
- 1
0
votes
1 answer
spring - load multiple properties but ignore missing ones
I used the following configuration in my applicationContext.xml
to load some…

auntyellow
- 2,423
- 2
- 20
- 47
0
votes
1 answer
How to reload a properties file in Apache Camel 2.12?
I want to do two things: Load a properties into a bean and update the bean when properties is updated.
I use JBoss Fuse 6.1 where to install my application bundle and have a properties file on the server where I need to read some configuration. The…

ffcc
- 50
- 1
- 1
- 10