Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Property Placeholder as MongoDB Port Number in Application Context Configuration [DATAMONGO-133] #1070

spring-projects-issues opened this issue May 11, 2011 · 1 comment
in: core type: enhancement


Copy link

@spring-projects-issues spring-projects-issues commented May 11, 2011

Mario Tinton Prambudi opened DATAMONGO-133 and commented

This snippet of configuration:

<util:properties id="mconf" location="classpath:/META-INF/spring/"/>
<mongo:mongo id="mongo" host="#{mconf['']}" port="#{mconf['mongodb.port']}" />

will give a validation error as the port property only accepts positive integer (the XSD at is too strict to only accept positive integer)

Affects: 1.0 M2

2 votes, 1 watchers

Copy link

@spring-projects-issues spring-projects-issues commented May 12, 2011

Thomas Risberg commented

Yes, I just noticed there are a couple of those non-string attributes - they should all be changed to accept strings for this reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: core type: enhancement
None yet

No branches or pull requests

2 participants