Yes, see http://servicemix.goopen.org/site/servicemix-eip.html#servicemix-eip-StaticRoutingSlip
On 8/25/06, Bernard LUPIN <[EMAIL PROTECTED]> wrote:
Thank you for this link, there are a lot of hidden advices on the site ;). Since yesterday, the left menu seems to be not complete but fortunately, there is a "Site map" link... Regarding to my problem, I understand now the pipeline EIP which works well, but the bridge tutorial is quite different, because at the end the message is queued in JMS instead of sended to a http-producer and then returned to the client. If my http-consumer is in-only, everything works but the client receives nothing (normal because in-only). If my http-consumer is in-out, I have an UnsupportedOperationException: Use an InOnly or RobustInOnly MEP (normal, it respects the pipeline specs). Is there another pattern I shoud use ? Thank you very much ! Bernard > -----Message d'origine----- > > An exchange is sent to a single component. > In your case, the http consumer send an InOut > request to the xslt component, which process it, > return the transformed xml to the http component, > which itself send it back to the client. > > Take a look at the bridge example and its tutorial > at > http://servicemix.goopen.org/site/creating-a-protocol-bridge.html > It should show you how to do exactly what you want > ;) In short, you need to use the EIP component > between the http and xslt components. > > On 8/24/06, Bernard LUPIN <[EMAIL PROTECTED]> wrote: > > > > Hi, > > I'm still confused with routing in servicemix. For > the moment, I just > > want static routing, here is what I'm trying to > do, with 3 SU : > > client --> (1)servicemix-http consumer ---> > (2)servicemix-lwcontainer > > XSLT transformation --> (3)servicemix-http > provider --> server --> > > ??answer to client?? > > If the first SU is an in-out MEP, the client > obtains an answer, but > > only (1) and (2) are invoked. > > If the first SU is an in-only MEP, (1), (2) and > (3) are invoked, the > > server answers correctly (TCPMonitor is OK), but > the client never > > receive the response. > > > > Could someone tell me what is the correct way to > follow ? > > > > Regards, > > Bernard > > > Cheers, > Guillaume Nodet p5.vert.ukl.yahoo.com uncompressed/chunked Fri Aug 25 07:13:57 GMT 2006 ___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com
-- Cheers, Guillaume Nodet
