Transactions are highly dependaant of the components used. The file system is in no way transactional, so file pollers won't start any transactions. The JCA component will start one when a jms message arrives and will commit it. All components should be able to enlist their resources in the transaction.
Cheers, Guillaume Nodet On 4/20/06, Marc Binck <[EMAIL PROTECTED]> wrote: > Hi everybody. > > Being new to ServiceMix and JBI, I'm still trying to understand how > transactions are used in SM. > > I can see from the source code that a transaction manager is used, but I > cannot see the boundaries of transactions. No component seems to use a > commit. > > If, for example, I define a binding that reads a message from Websphere MQ, > sends the content to a service that forwards it to a FileWriter. Is there > only a single transaction spanning the whole flow ? What creates and commits > it ? Can there be individual transactions ? > > Thanks for your help. > > > Marc Binck > >
