I see below configuration at http://java.dzone.com/articles/open-source-integration-apache
<route id="HTTPtoJMS"> <from uri="jetty:http://0.0.0.0:8888/placeorder" /> <inOnly uri="jms:incomingOrders" /> <transform> <constant>OK</constant> </transform> </route> Does it mean that any we request with URL http://0.0.0.0:8888/placeorder will be intercepted by CAMEL and output(in the form of JMS message) will be placed on incomingOrders queue. Is that correct? If yes do i need to put any camel specific servlet under web.xml of my webserver? Another point is incoming request can contain both type of paramters i.e form paramter and file upload request (in the form of multipart request) then how come below configuration checking "?xml" in file parameter not in form parameter? <route id="NormalizeMessageData"> <from uri="jms:incomingOrders" /> <convertBodyTo type="java.lang.String" /> <choice> <when> <simple>${body} contains '?xml'</simple> <unmarshal> <jaxb contextPath="org.fusesource.camel" /> </unmarshal> <to uri="jms:orders" /> </when> <otherwise> some configuration </otherwise> </choice> </route> -- View this message in context: http://camel.465427.n5.nabble.com/Will-web-request-be-intercepted-by-CAMEL-with-this-configuration-tp5750063.html Sent from the Camel - Users mailing list archive at Nabble.com.
