Hey there,

Does anyone have thoughts on using a stand-alone Camel application as a web
server, or do people generally prefer packaging the Camel application in a
WAR file?

My use-case is that I have a web service provided by Camel and using the
jetty component. This works nicely. However I want to serve up some static
resources associated with the web service. The only way I have found to do
this is by creating a producer for every static resource to be provided
e.g.:

my web service:

jetty:http://0.0.0.0:9080/GPSTrackerCollectionService/GPSTrackerCollection/gpsTrackers/GPSTracker/history

one (of the many) associated resources:

jetty:http://0.0.0.0:9080/GPSTrackerCollectionService/GPSTrackerCollection/gpsTrackers/GPSTracker/styles.kml

Kind regards,
Christopher
-- 
View this message in context: 
http://www.nabble.com/Camel-as-a-web-server-or-Camel-as-part-of-a-web-server--tp22922660p22922660.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to