couchdb component stops listening couchdb changes

2014-09-03 Thread dvsridhar
Hi, We are struggling a bit to make the couch db component work for our use case, essentially we need to consume all inserts, updates and deletes from a CouchDB instance. The couchdb component is acting little weird (sure, i am doing something wrong), *the minute the route gets started if we make

RE: how to intercept route builder "to" route for audit logging

2013-01-19 Thread dvsridhar
ct: Re: how to intercept route builder "to" route for audit logging Hi See the blue box at http://camel.apache.org/servlet And this FAQ http://camel.apache.org/why-is-my-message-body-empty.html On Fri, Jan 18, 2013 at 8:52 PM, dvsridhar <[hidden email]> wrote: > Hi, > We have

how to intercept route builder "to" route for audit logging

2013-01-18 Thread dvsridhar
Hi, We have to provide audit log for our http routes, for which, we host bunch http proxy routes using servlet component which routes the request to the provider using http producer. The following route does wireTap after "from" and "to" routes. However, when the wiretap finishes, i am getting t

Jetty component sslContextParametersRef is not working

2012-12-10 Thread dvsridhar
I am using camel version 2.9.1. We have routes that receives the request on camel servlet component and using camel jetty provider option we forward those requests to various REST providers. And also, we have FIPS TLS requirement to satisfy. To satisfy the above stated requirement, I set up the

Re: Jetty proxy routes confused behavior.

2012-11-06 Thread dvsridhar
William, With your suggestion I was able to stood up the spring-security oauth for http proxy routes. However, I just learnt that camel-servlet component doesn't have support Camel JSSE Utility (http://camel.apache.org/camel-configuration-utilities.html). *We have a requirement to support FIPS140

Re: Jetty proxy routes confused behavior.

2012-10-16 Thread dvsridhar
Let me know if i confused you with my explanation. I really struck here.. I have to think on a plan B approach.. if this doesn't work.. at the same time i don't want to use camel-cxf (cxfrs) .. i think it is kind of over kill for proxy routes.. Being an exchange layer.. we act as provider.. and i

Jetty proxy routes confused behavior.

2012-10-15 Thread dvsridhar
Hi, Our exchange layer contains several of public facing REST full proxy routes for our actual rest service providers and we use Camel Jetty component to define these http proxy routes. However, the exchange layer also contains a GUI for user login and enterprise user mapping functionality. We w

Camel redirect through Rest cxf:rsClient not keeping orgin (host) information in Http Headers

2012-08-22 Thread dvsridhar
Hello, We are using Jboss 7.1.1 as our app server and we use camel as the routing layer. In the following configuration, vendorConsumer receives the request and redirects the request to the actual provider. In response the provider sends the data with corresponding hyper links. We create the hyperl

Re: Camel Restful services security

2012-04-04 Thread dvsridhar
Willem, Thank you very much for you response. Can we use Shiro security for cxfrs based restful services. From the following link (http://cxf.apache.org/docs/secure-jax-rs-services.html#SecureJAX-RSServices-Authorization) i can see CXF security is primarily based on Spring Security. > Yes, you c

Re: Camel Restful services security

2012-04-04 Thread dvsridhar
Sergey, Thank you very much to for your reply. > Camel has plenty of HTTP-centric components so please review which one > fits most for your project and then proceed from there, example, if it > is a cxfrs one then the CXF based docs will help, restlets - check their > docs, jetty - the jetty

Camel Restful services security

2012-04-03 Thread dvsridhar
Hi, We are trying to understand the possible security options for Camel REST Ful services. Since Camel uses CXF, is it accurate to assume that what ever CXF JAXRS supports (http://cxf.apache.org/docs/secure-jax-rs-services.html#SecureJAX-RSServices-Authorization) that's what Camel offers. Does Cam

Re: Exceeding stated content length of 66

2012-03-27 Thread dvsridhar
Sergey, Thanks for the reply. We are not doing anything with the request, just forwarding the request from camel consumer to a camel producer (remote restful service). I am not sure where this can get corrupted, unless we have a bug in the cxf code. I tried debugging around, couldn't found where t

Re: Exceeding stated content length of 66

2012-03-27 Thread dvsridhar
Awesome tip. It worked like a charm. I am still not sure, why weblogic 10.3.5 has that problem. I tried in Jboss, tomcat and both were fine. We want to have a neutral solution that is portable across Jboss and Weblogic. Once again thank you very much for the help. Thanks, Sridhar -- View this mes

Re: Is this possible in Camel

2012-03-19 Thread dvsridhar
Never mind, I found a way to do this. I did the following to make my scenario work. Initially for the remote endpoint I had jaxrs:server definition as well which caused binding exceptions. I removed that and then the example started working. All we need to is rsServer and rsClient configurations.

Is this possible in Camel

2012-03-19 Thread dvsridhar
Hi, Can any one help me if the depicted scenario is possible with the current Camel 2.8.0 version or not. What we need to is the following. 1. Define RESTFul interface, should be able expose the API for multiple endpoints. (Virtual Proxies) 2. Should be able to associate multiple processors betw

RESTful service proxy ..

2012-03-05 Thread dvsridhar
I have an use case to support where the camel route has to act as a proxy to a restful service implementation. Camel route (interface based resource implementation) will conduct common auth, authorization, other common task and then call the REST full implementation. Using the BookStore example

Re: null pointer exception

2012-03-05 Thread dvsridhar
Thank you very much for the response Babak. Your suggestion seems to be working. However, Camel 2.9.0 doesn't give that jaxb impl jar, so I had to manually download and use that Jar. Thanks, Sridhar -- View this message in context: http://camel.465427.n5.nabble.com/null-pointer-exception-tp55378

null pointer exception

2012-03-05 Thread dvsridhar
Hello, Quite regularly I get the following exception. It is very random. When i get this exception some times the restart works. Some times it doesn't, it is very frustrating. This trace doesn't give me any information. Is there any way I can enable something to spit more information on this error

Re: Camel 2.9.0 startup error message > ClassNotFoundException org.osgi.framework.BundleActivator

2012-02-15 Thread dvsridhar
I am experiencing similar problem here. I am using Camel 2.9.0 and Latest Jboss (jboss-as-7.1.0.CR1b). I am trying to deploy one of camel examples "camel-example-cxf-tomcat". Using maven package i created the war and when i tried deploying it gives the same error what the other user has described.