Hi Andrea,
I've written about the use of flows at http://trenaman.blogspot.com/2008/11/jmsjca-flows-in-servicemix-wrong-level.html
. Right now SMX4 does not support the JMS or JCA flow, however, I
don't think this is a bad thing at all. To achieve what you want, you
could use a transactional SEDA flow: take your message off an
explicitly named JMS queue in the context of a transaction, and let
the transaction get propagated all the way through till your work is
done. In the event of a failure mid-processing, the message will still
be retained on the queue and will be processed again on restart.
So, you can achieve what you want by explicitly declaring
transactional queues, rather than letting SMX decide for you. This has
the advantage that our solution is more explicit in terms of its use
of queues and transactions, and that your solution will perform better
because you're not taking the performance hit of transactionally
persisting messages every time something goes over the NMR.
Hope that helps!
Ade
On 18 Nov 2008, at 11:01, Andrea Zoppello wrote:
BTW i still have some doubt, about it.
Mu main doubt, is about the concept of flow.
As i understand servicemix 4 will support only seda flow ( am i
wrong ?? ) and as i understand, the nmr implementation will not use
activemq as underline implementation, but it still only support jms
style endpoint.
My point is that with old servicemix all messages going through the
nmr was persisted ( we've configured activemq to persist message )
and if the system go down and then is recovered my messages were
there. Is this guaranteed with servicemic 4??? Are the messages
persisted??
This is a very important feature for us.
Any toughts???
---
Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Competence
Progress Software Corp
Shelbourne Road, Dublin 4, Ireland
---
+353-1-637-2659 (Office)
+353-1-637-2882 (Fax)
+353-86-6051026 (Mobile)
adrian.trenaman (Skype)
----
Blog: http://trenaman.blogspot.com