Hi See this FAQ http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html
On Sat, Dec 22, 2012 at 2:25 AM, Abhijith <[email protected]> wrote: > Hi, > > I am try to create proxy for streaming video, below is my requirement: > > Proxy - http://abcd.com/media/xyz.m4v to http://efgh.com/media/xyz.m4v . > > Did following spring dsl configuration in my abcd.com server: > > <route> > <from uri="servlet:///media/xyz.m4v" /> > <to > uri="http:///efgh.com/media/xyz.m4v?bridgeEndpoint=true&throwExceptionOnFailure=false" > /> > <setHeader headerName="Content-type"> > <constant>"video/m4v"</constant> > </setHeader> > </route> > > This works fine for media xyz.m4v, but how can I make the filename(xyz.m4v) > of media dynamic so that I can stream any video with media/*.m4v . > > > Thanks, > Abhi > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Apache-HTTP-ProxyPass-tp5724527.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
