[CONF] Apache Camel > Couchbase

2014-03-06 Thread Ugo Landini (Confluence)














  


Ugo Landini edited the page:
 


Couchbase   






...




Name
Default Value
Type
Context
Description


additionalHosts
""
String
Shared
Comma separated list of additional hostnames


designDocumentName
"beer"
String
Consumer
The Document Design name, defaults to the beer example distributed with Couchbase


viewName
"brewery_beers"
String
Consumer
The Document view name, defaults, to the beer example distributed with Couchbase


limit
-1
int
Consumer
Limit the number of results that should be returned, default is unlimited


descending
false
boolean
Consumer
Revert the sorting order of the result set.


skip
0
int
   

[CONF] Apache Camel > Couchbase

2014-03-02 Thread Ugo Landini (Confluence)














  


Ugo Landini edited the page:
 


Couchbase   




 Comment: removed 2.13.0 and added x.x.x 


...



 Code Block









xml


 




 
  org.apache-extras.camel-extra
  camel-couchbase
  2x.13x.0
  
 



URI format



 Code Block




 couchbase:http[s]://hostname/bucket?[options] 



...






 View Online  · Like  · View Changes  
 Stop watching space  · Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel > Couchbase

2014-03-02 Thread Ugo Landini (Confluence)














  


Ugo Landini edited the page:
 


Couchbase   




 Comment: CCB_KEY is set in Producer too 


...




Name
Default Value
Type
Context
Description


CCB_KEY
null
String
ConsumerShared
Key of the consumed row


CCB_ID
null
String
Consumer
Id of the consumed row


CCB_DDN
null
String
Consumer
Document Design name


CCB_VN
null
String
Consumer
View Name




...






 View Online  · Like  · View Changes  
 Stop watching space  · Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.

[CONF] Apache Camel > Couchbase

2014-03-01 Thread Ugo Landini (Confluence)














  


Ugo Landini edited the page:
 


Couchbase   




 Comment: Code indentation 


...



 Code Block








language
java


 




 from("couchbase:http://localhost/beer-sample?designDocumentName=beer&viewName=brewery_beers&limit=10")
	.to("mock:result"); 



 
Add a document with ID "12346" to "default" bucket:



 Code Block








language
java


 




 from("direct:start")
	.setHeader(CouchbaseConstants.HEADER_ID, constant("123456"))
	.to("couchbase:http://localhost/default"); 



...

  

[CONF] Apache Camel > Couchbase

2014-01-18 Thread Christoph Emmersberger (Confluence)














  


Christoph Emmersberger created a page:
 


Couchbase   





 Available as of Camel Extra 2.13 
The camel-couchbase component supports the interaction to the NoSQL document database Couchbase via the couchbase-client library.
Dependency



  org.apache-extras.camel-extra
  camel-couchbase
  2.13.0



URI format


couchbase:protocol://host[:port]/bucket







 View Online  · Like  
 Stop watching space  · Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software