You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by askannon <gi...@git.apache.org> on 2016/01/05 15:12:39 UTC

[GitHub] camel pull request: Feature to load rest dsl from xml file in came...

GitHub user askannon opened a pull request:

    https://github.com/apache/camel/pull/753

    Feature to load rest dsl from xml file in camel-spring-boot

    This PR ultimately adds a feature to the spring-boot component to load REST DSL configuration from XML files in the "camel-rest" dir on the classpath. Since spring-boot can already load routes from XML files in "camel" classpath dir I thought it would be nice to also load REST DSL that way.
    
    Similar to the XML routes loading the directory used to load the RESTs from can be configured through a property with a default to "classpath:camel-rest/*.xml":
    
    // turn off
    camel.springboot.xmlRests = false
    // scan in the com/foo/rests classpath
    camel.springboot.xmlRests = classpath:com/foo/rests/*.xml

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/askannon/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/753.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #753
    
----
commit 4027f730e1fde95e3d57c17c643bd1872da959f5
Author: Askannon <as...@flexarc.com>
Date:   2016-01-05T12:32:43Z

    Add capability to load REST DSL from XML files.

commit 90b31292d10aac76366d4be7ab4036cc7e6e1294
Author: Askannon <as...@flexarc.com>
Date:   2016-01-05T12:33:11Z

    Load REST DSL from XML files

commit c44252055428bfd395747caa3a04f4e39142b413
Author: Askannon <as...@flexarc.com>
Date:   2016-01-05T14:05:59Z

    fixed wrong name

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] camel pull request: Feature to load rest dsl from xml file in came...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/753


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---