Re: "Jetty vs Servlet" in web application

2015-02-23 Thread Charles Moulliard
Hi Gowri, The Apache Camel framework proposes different components that you could use to : - produce (= emit HTTP calls) = HTTP, HTTP4, Netty HTTP, AHC (for async exchange) - consume (= expose HTTP Web container) = Jetty (to instantiate a new Web Container), Servlet (= to register the Camel servle

Re: "Jetty vs Servlet" in web application

2015-02-23 Thread Milli
By the way, I forgot to mention that we are trying to avoid using "Spring" as a dependency. Thanks, On Mon, Feb 23, 2015 at 5:40 PM, Milli wrote: > Hi everyone, > > In our project we are planning to use camel for web request routing / > orchestration. > Its basically a web project (more like pr

"Jetty vs Servlet" in web application

2015-02-23 Thread Milli
Hi everyone, In our project we are planning to use camel for web request routing / orchestration. Its basically a web project (more like proxy server) talking to several other local/internal web-services to prepare the final response to the requester. Can some suggest us, what is the best way to

Bean populating before properties.

2015-02-23 Thread Alexander Webster - Peapod
Hello, In my application, I have the following blueprint file: http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:cxf="http://camel.apache.org/schema/blueprint/cxf"; xmlns:jaxrs="http://cxf.apache.org/blueprint/jax

Re: How to trap most specific exceptions?

2015-02-23 Thread toomanyedwards
Thanks for the pointer. Can you give some insight into why Camel matches from the bottom up of the exception chain rather from the top? This appears to be an explicit design decision and it'd be useful to know the rationale behind it to help leverage exception trapping more effectively. -- Vie

Re: Enabling SFTP URI Option "Compression" (via JSCH zlib JAR)

2015-02-23 Thread fidoedidoe
Hi Reji Many thanks for the advice. I wasn't aware of the osgi wrap feature. This sounds like it matches my requirement. Many thanks!! -- View this message in context: http://camel.465427.n5.nabble.com/Enabling-SFTP-URI-Option-Compression-via-JSCH-zlib-JAR-tp5763042p5763085.html Sent from

Get soapfault fra endpoint back to the client.

2015-02-23 Thread Frankiboy
If have this routing. from("direct:channel2").onException(Exception.class).handled(true).process(new LogError(HubConstants.CHANNEL2.getValue())).end().recipientList() .method(Util.class, "getEndpoint"); I want to throw the endpoints soapfault: private void setChannel2ConnectExc

Re: camel-restlet dependency error

2015-02-23 Thread contactreji
I think the redirect url was wrong. it was being re-directed to http://maven.restlet.org. *Failed to transfer http://maven.restlet.org/org/restlet/jse/org.restlet/2.0.15/org.restlet-2.0.15.pom. Error code 307, Temporary Redirect -> [Help 1] * Found a solution - I added following to repositories

Transacted routes despite missing "transacted" flag (ActiveMQ component)

2015-02-23 Thread Stephan Burkard
Hi So far I always configured the Camel ActiveMQ component with a Spring JmsTransactionManager etc and marked my routes explicit as "transacted" since we must not lose any messages. This kind of configuration can be found at various places, for example the Camel docs at http://camel.apache.org/tra

camel-restlet dependency error

2015-02-23 Thread contactreji
Is there something wrong with camel-restlet dependency? I added the same to my pom.xml file. The project was working fine and mvn install was building jar well before I added org.apache.camel camel-restlet 2.10.0.redhat-60024 . After adding camel-restlet into pom file,