servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beppe82 <giuseppevital...@gmail.com>
Subject RE: How to use Static Routing Slip
Date Fri, 06 Jul 2007 13:37:58 GMT

What about the last out message? Which is the target service?
Thanks


rabi wrote:
> 
> 
> As per my understandin RoutingSlip eip pattern routes an incoming In-Out
> exchange through a series of target services. So it will be done by
> default, out  of test:se1  is in for test:se2.
> ________________________________
> 
> From: beppe82 [mailto:giuseppevitalone@gmail.com]
> Sent: Thu 7/5/2007 2:18 PM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: How to use Static Routing Slip
> 
> 
> 
> 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.
> 
> 
> 
> 
> 
> 
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments. 
> 
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>  
> www.wipro.com
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-Static-Routing-Slip-tf4024407s12049.html#a11464486
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Mime
View raw message