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&amp;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.

Reply via email to