camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel Apache HTTP ProxyPass
Date Sat, 22 Dec 2012 12:42:30 GMT
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 <abhiteju2007@gmail.com> 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&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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message