Just a quick note for the camel-jetty component, it has consumer and a producer which leverage the jetty client API to send the request asynchronously.

On Mon Dec  5 21:07:06 2011, Christian Schneider wrote:
Some time ago I did some unification in CXF to make it easier for
users to configure the different http transports. I would like to do a
similar thing for camel.

Currently we have three different http components:

camel-http : Only producer
camel-jetty : Only consumer with embedded jetty
camel-servlet : Only consumer with servlet from servlet container or
OSGi Server

This means people have to use three different prefixes.

I would like to change this to only use the prefix http.

Producer:
to("http://myserver/mypath";)

Servlet consumer:
from("/myservlet/mypath")

Jetty consumer:
from("http://myserver:myport/mypath";)

The idea is to select the Endpoint type based on the URI and endpoint
type but to hide this from the user.

Christian



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to