I assume that you don't want to return anything to HTTP client (CXF-BC is
in-only)?
If you want to then I don't of any such a mechanism in SM (try to check it
in Camel).
If not then you can add JMS producer - consumer pair (between 1) and 2)) and
configure jms transaction on JMS consumer. Then you can configure redelivery
policy for AcitveMQ (tell it to redelivery the number of times you want to)

You can also take look at Camel. I think error handler are more flexible
there.


ivan-50 wrote:
> 
> Hi!
> 
> I'm interesting in transactions in SMX.
> 
> Imagine following situation:
> 
> I have 2 components:
> 
> 1) CXF-BC, 2) CXF-SE.
> 
> CXF-SE component has some logic and depending on result of execution of 
> that logic we can have SUCCESS of ERROR (FAULT) status.
> 
> The issue: in case ERROR(FAULT) it is needed to retry sending message 
> from 1) to 2) after some timeout.
> Is it possible to achieve it somehow (probably, by using transactions) 
> in SMX?
> 
> I'm not sure if it is exactly transaction I mean, but the main feature 
> is to control of exchange-cycle after geeting FAULT in some node/step of 
> routing.
> 
> 1)--(send exchange)-->2)--(do some logic and send status)--->1).
> 
> 
> In general I can have more than 2 service-units in cycle.
> 
> Any ideas of handling this issue?
> What possibilities I have to handle it?
> 
> Thanks in advance.
> Truly yours,
> Ivan Pryvalov.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/servicemix-and-transactions-tp19780624p19834876.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to