But what happen when test:se1 has received the message and it want to route it to test:se2? What should it do? Thanks
Adrian Co wrote: > > Hi, > > When you create and deploy the static routing slip endpoint below, it > essentially becomes a JBI service inside the bus. > > So you can create an HTTP consumer for example and point the consumer to > the "test:routing-slip" service. Any http request that is directed at > the url being proxied by the http consumer will be routed to the routing > slip service, which will route it to test:se1, etc... > > Hope that helps. > > beppe82 wrote: >> Hi, this is what I want to do: >> >> I have a XML document which contains different tags; the content of the >> tags >> is used to call 7 stored procedure, which must be called sequentially. To >> have a flexible infrastructure, which permits to add further tags to call >> further stored procedures in the future, I decided to have a routing >> based >> on configuration. I noticed that servicemix has a static-routing-slip >> service which I can use to define my business process. I would like to >> configure: as FIRST thing the message will be sent to SE1, THEN SE1 send >> it >> to SE2, THEN SE2 send it to SE3 and so on. How can I do this? >> I think I must create a list of the endpoints that take part to my >> business >> process, like: >> >> <eip:static-routing-slip service="test:routingSlip" endpoint="endpoint"> >> <eip:targets> >> <eip:exchange-target service="test:se1" /> >> <eip:exchange-target service="test:se2" /> >> ... >> </eip:targets> >> </eip:static-routing-slip> >> >> But how do I use this list? >> Thanks and sorry for my English. >> Giuseppe >> >> >> > > > -- View this message in context: http://www.nabble.com/How-to-use-Static-Routing-Slip-tf4024407s12049.html#a11442933 Sent from the ServiceMix - User mailing list archive at Nabble.com.
