CouchDB Attachment

2013-03-09 Thread webfrank
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.nabbl

Re: Routing REST request to external URI

2013-03-09 Thread Willem jiang
It's easy to get HTTP method from the message header , if you are using camel-servlet or camel-jetty component. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blog

Re: Reply messages from aggregator

2013-03-09 Thread Christian Müller
Can you explain in more detail what you want to do? I didn't understand your requirement... One question: Your "aggregation" object implements Predicate *AND* AggregationStrategy? By looking a your example, your direct endpoint receives (String/Byte array/...) messages and convert it into a JAXB a

Re: Routing REST request to external URI

2013-03-09 Thread ramrubio
I want to setup camel as a proxy between my client and server. My proxy server is running on tomcat. On my proxy server (camel end point) i want to perform dynamic routing to route request to appropiate service end point on a different server. I'm new to camel but did notice that it supports dyn

Re: CXF and callbacks

2013-03-09 Thread Christian Müller
What kind of call back? What do you want to do in this call back? Can you explain it in more detail please... Sent from a mobile device Am 09.03.2013 09:20 schrieb "Smith-John" : > Hi, > > does CXF support callbacks? > My route begins with > from("cxf: > http://localhost:8080/create?wsdlURL=url2w

Re: base class for context component?

2013-03-09 Thread Henryk Konsek
Hi Sven, > I'm trying to build my own context component as described in > http://camel.apache.org/context.html. Actually Context Component is ready to use out of the box. You don't need to create your own. Or if you have to, please share with us the reasoning behind this need. Best regards. --

Re: Routing REST request to external URI

2013-03-09 Thread Henryk Konsek
Hi Ramon, > Is it possible on tomcat? Sure. Camel Jetty component [1] opens new embedded HTTP server on the port of your choice, so it don't have to conflict with ports opened by Tomcat. > Any examples? You can deploy the example mentioned [2] by Claus on Tomcat as well. > Also I want to be ab

CXF and callbacks

2013-03-09 Thread Smith-John
Hi, does CXF support callbacks? My route begins with from("cxf:http://localhost:8080/create?wsdlURL=url2wsdl&serviceName={http://testit/}createService&dataFormat=PAYLOAD";) using wsdl first approach. I'm trying here to get cxf an callbacks to work. Maybe my wsdl or my soapui ws-a properties are w

Re: dynamic URI parameter in from URI?

2013-03-09 Thread Doug Douglass
On Sat, Mar 9, 2013 at 1:18 AM, Claus Ibsen wrote: > > Lets say you can do that, how you would update the option? Using some > java code, JMX, or some other way? > > It is of course possible to add functionality to the camel-atom > component so you can in some way define the uri in a dynamic way.

Re: CamelContext resume does not reactivate the route

2013-03-09 Thread Preben.Asmussen
I have seen the same behaviour on one or two occasions when a route 'hangs' with an inflight exchange and you try to suspend. It seems that there might be some issue flushing the inflight exchange (threading/interrupt) ? After the DefaultShutDownStrategy has completed you are not able to resume.

Re: Routing REST request to external URI

2013-03-09 Thread Claus Ibsen
Hi See also this little example http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html On Fri, Mar 8, 2013 at 9:46 PM, ramrubio wrote: > Does Camel support routing an incoming REST request to an external RESTful > service for all http operations. > > For exam

Re: dynamic URI parameter in from URI?

2013-03-09 Thread Claus Ibsen
On Fri, Mar 8, 2013 at 10:33 PM, Doug Douglass wrote: > I'm familiar with dynamic to URI support in Camel[1], but I'm looking for > ways to dynamically set the from URI or at least update a parameter in a > from URI. > > Specifically, I'm using the Atom component to access a paged feed and want >

Re: Issue: Aggregator2 : BatchCompletion disturbed by other completions and fails to happen (when it probably should)

2013-03-09 Thread Claus Ibsen
On Fri, Mar 8, 2013 at 8:18 PM, Tim Pierce wrote: > There is a bug - at least I assume it not desired functionality where if > you have more than one completion of which .completionFromBatchConsumer() > is one of them > > if Exchange property CamelBatchSize is 2505 and .completionSize( ) is 1000 >