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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  need clarification on adapter transaction

    Posted 12/15/12 10:34 AM

    Hi All
    i was developed my flow in this way…
    MAIN…
    Start Transaction
    try…
    Insert
    update
    delete service {Thes e is treated as a single unit and alll the operations perform on the same data base }

    commit
    catch…
    roll back

    If for example update transaction failed,is it roll backs insert to prevous state?

    Can any body clarify on this…
    hope for the positive response.


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 2.  RE: need clarification on adapter transaction

    Posted 12/17/12 06:06 AM

    Hello,

    Just try putting the StartTransaction outside the main Try Sequence.

    For more information refer JDBC documentation.

    Cheers,
    Sasanka


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: need clarification on adapter transaction

    Posted 12/17/12 10:56 AM

    Hi Sasanka,
    Thanks for ur reply…

    In try block i am calling two notification services

    1.Insert Notification service(Successed)
    2.update Notification service(Failed)

    It will rollback only the Failed Update transaction or it will rollback both the transactions…
    Can any one clarify this point.


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: need clarification on adapter transaction

    Posted 12/17/12 11:52 AM

    Hello,

    In a transaction context, either all the database operations are committed or all database operations are rolled back. No partial commit or rollback is possible.

    Cheers,
    Sasanka


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 5.  RE: need clarification on adapter transaction

    Posted 12/17/12 01:23 PM