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
  • 1.  Reason for startTransaction service putting outside of SEQUENCE step in flow service ??

    Posted Thu August 22, 2013 11:15 AM

    Hi,

    Recently I was going through the documentation of Jdbc adapter(6.5), I have found that SAG doesn’t recommend putting ‘pub.art.transaction:startTransaction’ in SEQUENCE step. I am unable to find out the reason behind it.

    Can you anyone know about the exact reason?

    Thanks in advance !!

    Regards,
    Tanveer


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


  • 2.  RE: Reason for startTransaction service putting outside of SEQUENCE step in flow service ??

    Posted Thu August 22, 2013 02:28 PM

    The reason for it should be outside of the sequence step is the transactionName can be always there in the pipeline even in the case of catch block errors scenario and the rollback situation does get work as expected making the transactionName available if any hard errors.

    HTH,
    RMG


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


  • 3.  RE: Reason for startTransaction service putting outside of SEQUENCE step in flow service ??

    Posted Fri August 23, 2013 09:51 AM

    Hi,

    Calling StartTransaction simply means u r using LocalTransaction as a Transaction Type and for this we have to put in a transaction Boundary.
    Say inside main U cant call because control will come out after getting first success, yes you can call inside try block but this is not our best practice.

    so best to use the first step inside a flow service.

    Thanks,
    Vicky


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


  • 4.  RE: Reason for startTransaction service putting outside of SEQUENCE step in flow service ??

    Posted Fri August 23, 2013 01:15 PM

    Another valid point brought up…thanks Vicky for Chime in:


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


  • 5.  RE: Reason for startTransaction service putting outside of SEQUENCE step in flow service ??

    Posted Fri August 23, 2013 01:21 PM

    Hi,

    Thank you all !! This is what I was looking for ! The Actual Reason !!

    Regards,
    Tanveer


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


  • 6.  RE: Reason for startTransaction service putting outside of SEQUENCE step in flow service ??

    Posted Fri August 23, 2013 01:40 PM

    Glad you got the info that you are looking for:)


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