GitHub user koscejev opened a pull request:

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

    Camel 8941

    Additional support for camel-restlet to properly handle binary data:
    * consumer can return binary data as InputStream (test only)
    * consumer can return binary data as byte\[\] (test + fix)
    * producer can receive "application/octet-stream" content as InputStream 
(test only)
    * producer can receive other content as InputStream (test + fix)

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

    $ git pull https://github.com/koscejev/camel CAMEL-8941

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

    https://github.com/apache/camel/pull/558.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 #558
    
----
commit 5b90830e7075f26235588ff5e0a27f72d607117e
Author: Anton Koscejev <anton.kosce...@zoomint.com>
Date:   2015-07-10T15:02:31Z

    CAMEL-8941 test: restlet producer should handle binary streams regardless 
of content type

commit 282350fdd2fd6f0b0d3e9c47e97f80ba7e132b18
Author: Anton Koscejev <anton.kosce...@zoomint.com>
Date:   2015-07-10T15:04:09Z

    CAMEL-8941 fix: restlet producer should handle binary streams regardless of 
content type

commit 5a6343c83371cbed112fead2ed1de7dc51dc7a13
Author: Anton Koscejev <anton.kosce...@zoomint.com>
Date:   2015-07-10T15:13:44Z

    CAMEL-8941 using "localhost" instead of "0.0.0.0" to make test work on 
Windows too

commit ad446849fe4b44072906b185af84a03cb2e5131b
Author: Anton Koscejev <anton.kosce...@zoomint.com>
Date:   2015-07-10T15:19:51Z

    CAMEL-8941 test: restlet consumer should allow returning binary data 
component-agnostic as InputStream or byte[]

commit 279e539867d98577333de2fd862702017598d80b
Author: Anton Koscejev <anton.kosce...@zoomint.com>
Date:   2015-07-10T15:20:16Z

    CAMEL-8941 fix: restlet consumer should allow returning binary data 
component-agnostic as InputStream or byte[]

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to