You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by webfrank <we...@tiscali.it> on 2013/03/10 08:44:57 UTC

CouchDB Attachment

Hi, I'm new to camel and I would like to perform a simple sync between a cmis
server (alfresco) and a couchb. I read and find how to query cmis, what I'm
missing is how to save the retrieved doc into couchdb as attachment.

Any help?



--
View this message in context: http://camel.465427.n5.nabble.com/CouchDB-Attachment-tp5728888.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/

Re: CouchDB Attachment

Posted by "gutsal.arsen" <gu...@softsky.com.ua>.
>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.