My SA consists of a LW-SU with overridden FilePoller and EIP-SU with WireTap. WireTap goes to LW-SU overridden FTPSender (target) and LW-SU overridden FileWriter (listener). I tried to start a transaction.begin around the sendSync in the FilePoller. From FTPSender when no connection is made I mark the transaction rollbackonly. When execution comes back to FilePoller the transaction is not valid and I would like the file not to be polled. The only way to make this is to throw an Exception from FilePoller otherwise it "consumes" the file? Declarative transaction mgmnt would be nice, but now transaction handling is in the code?
gnodet wrote: > > EIP patterns process exchanges synchronously if > they have been sent using sendSync and are transacted, > else it defaults to use the asynchronous mode. > Do you experience any problem with that ? > > On 3/21/07, johper <[EMAIL PROTECTED]> wrote: >> >> >> How to configure servicemix-eip (eip:wire-tap) to use processSync ? >> -- >> View this message in context: >> http://www.nabble.com/WireTap-with-processSync-not-processAsync-tf3439185s12049.html#a9589538 >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Architect, LogicBlaze (http://www.logicblaze.com/) > Blog: http://gnodet.blogspot.com/ > > -- View this message in context: http://www.nabble.com/WireTap-with-processSync-not-processAsync-tf3439185s12049.html#a9590213 Sent from the ServiceMix - User mailing list archive at Nabble.com.
