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.  JSM Trigger keeps firing

    Posted Mon June 04, 2018 09:08 AM

    I’ve setup an adapter notification to monitor for inserts on a database table and fire a jms trigger that uses a jndi topic and calls a service to process the published document (in this case, inserting the row of data into another table).

    My problem is that the process keeps repeating, so after a single insert on the monitored table, the flow service is being called time and time again (resulting in many new rows being inserted into the target table).

    Could you please explain how I mark the document as consumed so it only processes once?


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: JSM Trigger keeps firing

    Posted Mon June 04, 2018 11:36 AM

    Hi Richard,

    The Insert Adapter notifications (buffer table) monitors/listens to the source table (if any new rows inserted in that particular table) based on the interval you have configured and any time a new row insert available it calls the notification service/trigger’s pub/sub and that is what it’s expected flow and so are you seeing any duplicate rows getting created in the target table thru the day? Please check and clarify.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: JSM Trigger keeps firing

    Posted Mon June 04, 2018 01:41 PM

    Hi RMG,

    Yes, to confirm this is publishing locally and duplicate rows keep getting added (i.e. insert one row into source table and target table gets a new row added every x seconds until polling notification is disabled).

    JMSTrigger: JMSTrigger - Album on Imgur
    Flow: Imgur: The magic of the Internet

    Let me know if you need to see any of the other elements. Thanks for your help.


    #webMethods
    #Integration-Server-and-ESB