You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Petter Nordlander (JIRA)" <ji...@apache.org> on 2012/10/19 16:04:11 UTC
[jira] [Created] (CAMEL-5716) Validator - schema from
memory/property
Petter Nordlander created CAMEL-5716:
----------------------------------------
Summary: Validator - schema from memory/property
Key: CAMEL-5716
URL: https://issues.apache.org/jira/browse/CAMEL-5716
Project: Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 2.10.1
Reporter: Petter Nordlander
Priority: Trivial
As far as I understand, the validator "component" in Camel can only use schemas deployed as file within the classpath (typically the deployed application - ear/war/jar whatever have you) or some file/http resource.
Sometimes you might want to load the schema a bit more dynamically, I.E. from some datasource or semi-generate something on the fly. My suggestion is that a schema could be supplied in a propery or a header to the validator.
I wrote such an extension to the validator and could probably rewrite it easily as a patch to the regular validator. Do you think people want to use such a feature and that it might be good to have in Camel? Should I submit a patch?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5716) Validator - schema from
memory/property
Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502304#comment-13502304 ]
Christian Müller commented on CAMEL-5716:
-----------------------------------------
Any progress Petter?
> Validator - schema from memory/property
> ---------------------------------------
>
> Key: CAMEL-5716
> URL: https://issues.apache.org/jira/browse/CAMEL-5716
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.10.1
> Reporter: Petter Nordlander
> Priority: Trivial
> Labels: patch
>
> As far as I understand, the validator "component" in Camel can only use schemas deployed as file within the classpath (typically the deployed application - ear/war/jar whatever have you) or some file/http resource.
> Sometimes you might want to load the schema a bit more dynamically, I.E. from some datasource or semi-generate something on the fly. My suggestion is that a schema could be supplied in a propery or a header to the validator.
> I wrote such an extension to the validator and could probably rewrite it easily as a patch to the regular validator. Do you think people want to use such a feature and that it might be good to have in Camel? Should I submit a patch?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5716) Validator - schema from
memory/property
Posted by "Petter Nordlander (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483128#comment-13483128 ]
Petter Nordlander commented on CAMEL-5716:
------------------------------------------
yes, I have most of it ready. Just need to make up some junit code to test it as well.
> Validator - schema from memory/property
> ---------------------------------------
>
> Key: CAMEL-5716
> URL: https://issues.apache.org/jira/browse/CAMEL-5716
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.10.1
> Reporter: Petter Nordlander
> Priority: Trivial
> Labels: patch
>
> As far as I understand, the validator "component" in Camel can only use schemas deployed as file within the classpath (typically the deployed application - ear/war/jar whatever have you) or some file/http resource.
> Sometimes you might want to load the schema a bit more dynamically, I.E. from some datasource or semi-generate something on the fly. My suggestion is that a schema could be supplied in a propery or a header to the validator.
> I wrote such an extension to the validator and could probably rewrite it easily as a patch to the regular validator. Do you think people want to use such a feature and that it might be good to have in Camel? Should I submit a patch?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5716) Validator - schema from
memory/property
Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482608#comment-13482608 ]
Christian Müller commented on CAMEL-5716:
-----------------------------------------
Petter, do you consider to work on a patch?
> Validator - schema from memory/property
> ---------------------------------------
>
> Key: CAMEL-5716
> URL: https://issues.apache.org/jira/browse/CAMEL-5716
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.10.1
> Reporter: Petter Nordlander
> Priority: Trivial
> Labels: patch
>
> As far as I understand, the validator "component" in Camel can only use schemas deployed as file within the classpath (typically the deployed application - ear/war/jar whatever have you) or some file/http resource.
> Sometimes you might want to load the schema a bit more dynamically, I.E. from some datasource or semi-generate something on the fly. My suggestion is that a schema could be supplied in a propery or a header to the validator.
> I wrote such an extension to the validator and could probably rewrite it easily as a patch to the regular validator. Do you think people want to use such a feature and that it might be good to have in Camel? Should I submit a patch?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira