You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by jeffusan <gi...@git.apache.org> on 2014/08/09 01:52:30 UTC

[GitHub] camel pull request: Mybatis component can accept an InputStream fo...

GitHub user jeffusan opened a pull request:

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

    Mybatis component can accept an InputStream for configuration

    In my current project we're using YAML for configuration, and have a utility that converts YAML to XML for Mybatis... I'd like the option of providing an inputstream for configuration instead of only an XML file reference.
    
    My changes add the option of setting an inputstream for configuring the component. In my particular use case, I have a set of JAXB annotated classes return their XML equivalent value as an inputstream into this component.

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

    $ git pull https://github.com/jeffusan/camel mybatis-component-input-stream-arg

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

    https://github.com/apache/camel/pull/233.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 #233
    
----
commit 202c76a45f1c01440819c6b55fe7fa3d5d1e4a00
Author: jeffusan <je...@atware.co.jp>
Date:   2014-08-08T23:47:19Z

    In my current project we're using YAML for configuration, and have a utility that converts YAML to XML for Mybatis.
    I need the option of an inputstream for configuration instead of only an XML file reference.

----


---
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.
---