Camel-restlet:setting Cache-Control metadata

2013-02-14 Thread apatel
We try to set the Cache-Control metadata in restlet route as below. But It did not set Cache-Control on response. Also when i look at the code The Restlet component Representation class does not have set Cache-Control method. Please help me to resolve this issue. http://camel.apache.org/schema/

Re: Camel-http4 component throws Connection refused error

2013-02-13 Thread apatel
We are still validating Apache Camel 2.11.0, but would you please check below scenario cause issue or not? When connection remove from the pool. Are you plane to use PoolingClientConnectionManager in Apache Camel 2.10.4? scenario == I am more worry about maxTotalConnections connection. If i

Re: Camel-http4 component throws Connection refused error

2013-02-01 Thread apatel
I will try using Camel 2.11-SNAPSHOT. I am more worry about maxTotalConnections connection. If i have 100 routes and each create 2 connections. we reach the maxTotalConnections. Since we are not setting connTTL( connection lifetime, <=0 implies "infinity"), so connection is not remove from connec

Camel-http4 component throws Connection refused error

2013-01-31 Thread apatel
I am getting org.apache.http.conn.HttpHostConnectException exception when i use the http4 component in routes, but the same routes work fine if i use the http component. When i look at the code, i found below method in org.apache.camel.component.http4.HttpComponen create ThreadSafeClientConnManag

Camel-Restlet 2.10.3:RestletComponent component does not remove added route form routers although route is removed from Context.

2013-01-22 Thread apatel
In RestletComponent class add entry to instance variable "private final Map routers = new HashMap()" map while invoking /getMethodRouter/ method, but it never remove in /disconnect/ method, also /disconnect/ method has local variable with same name as instance variable "routes". -- View this me

Camel-Restlet 2.10.3 dependency org.restlet.jse:org.restlet:jar:2.0.14 is not supported by Restlet Framework.

2013-01-15 Thread apatel
Restlet framework maven repo does not have org.restlet.jse:org.restlet:jar:2.0.14. Does camel-rest component need to migrate to latest restlet version? I am not able build camel-restlet component because of missing dependency org.restlet.jse:org.restlet:jar 2.0.14. -- View this message in conte