IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

explicit transaction

  • 1.  explicit transaction

    Posted Mon October 11, 2010 01:49 PM

    I am working with 2 different DB’s

    DB 1 ------- insert service
    DB 2 ------- update service

    without using XA transaction how to handle ?

    If we go for Explicit trasaction.
    If any service fails it should Rollback.

    Do we need to give two start and commit Transactions
    If so in catch block we need to give one rollback or two rollbacks?

    Regards
    Kumar


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: explicit transaction

    Posted Mon October 11, 2010 04:05 PM

    If the 2 operations need to be treated as 1 (both succeed or both rollback) then you must use XA.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods