You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "gutsal.arsen" <gu...@softsky.com.ua> on 2014/04/12 10:47:12 UTC

Re: CouchDB Attachment

>From what I see they does not support saving attachments. They consider body
is JSON string. 
I think camel-couchdb component should be patched and if in.body of type of
GenericFile or InputStream is recognized, attachment should be saved.



--
View this message in context: http://camel.465427.n5.nabble.com/CouchDB-Attachment-tp5728888p5750141.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CouchDB Attachment

Posted by Claus Ibsen <cl...@gmail.com>.
On Sat, Apr 12, 2014 at 10:47 AM, gutsal.arsen
<gu...@softsky.com.ua> wrote:
> From what I see they does not support saving attachments. They consider body
> is JSON string.
> I think camel-couchdb component should be patched and if in.body of type of
> GenericFile or InputStream is recognized, attachment should be saved.
>

Sounds like a good idea for the file / generic file part.  Not sure
about input stream, as that can be a regular body in json format too.

Fell free to log a JIRA ticket
http://camel.apache.org/contributing

>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/CouchDB-Attachment-tp5728888p5750141.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/