Hi Jim,

The Redirector isn't a filter, so it isn't directly suitable. I guess you need 
to write a special Filter and handle some sort of synchronization/rendez-vous 
between the two parallel calls you want to make. I would need more details on 
your use case to give more precise advices.

Best regards,
Jerome
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg
Noelios Technologies ~ http://www.noelios.com




-----Message d'origine-----
De : Jim Alateras [mailto:[email protected]] 
Envoyé : mercredi 3 novembre 2010 04:06
À : [email protected]
Objet : Re: Forwarding all requests

Jerome,

Had a look at the javadoc but couldn't really see how it would work in my 
scenario. In my case i want to enable a sort of reflector for my service so 
that the same request is processed by the existing webapp and also by the same 
ap running on another machine (i.e.e active redundancy mode). Is the Redirector 
suitable for this use case?

cheers
</jima>



On 03/11/2010, at 7:37 AM, Jerome Louvel wrote:

> Hi Jim,
> 
> Did you have a look at the org.restlet.routing.Redirector class? It should 
> offer what you are looking for.
> 
> Best regards,
> Jerome
> --
> Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios 
> Technologies ~ http://www.noelios.com
> 
> 
> 
> 
> -----Message d'origine-----
> De : Jim Alateras [mailto:[email protected]] Envoyé : mardi 2 
> novembre 2010 20:59 À : [email protected] Objet : Forwarding 
> all requests
> 
> Just wondering whether there is a Guard or Filter that comes with the restlet 
> framework that will allow me to forward the original request to another 
> server after it has been processed by the application. 
> 
> cheers
> </jima>
> 
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId
> =2678138
> 
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId
> =2678151

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2678219

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2678306

Reply via email to