App Connect

App Connect

Join this online user 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

Update additional instances of message flow through Rest APIs

  • 1.  Update additional instances of message flow through Rest APIs

    Posted Wed January 24, 2024 07:30 AM

    Hi ,

    I am looking for a solution to update the additional instances using admin REST APIs , currently we are using WLM policy and keeping that policy under override path to override at run time . Is there any way to update these WLM policy via REST APIs or Java API. Earlier in IIB 9 there used to have Java API to update the additional instances but it was deprecated. I am currently using ACE12 Fix pack 10

    Thank you,

    Regards,

    Dinesh



    ------------------------------
    DINESH SEERAM
    ------------------------------



  • 2.  RE: Update additional instances of message flow through Rest APIs

    Posted Mon January 29, 2024 04:12 AM

    Hi Dinesh, 

    There is a REST API option which updates the thread-pool in a non-persisted fashion (threads will reset to those specified on the message flow properties or via WLM ) policy when you restart.

    Message flow deployed to an independent integration server:
    http://localhost:7600/apiv2/applications/{application}/messageflows/{messageflow}/update-thread-pool

    Message flow deployed to a node-owned integration server
    http://localhost:4414/apiv2/servers/{server}/applications/{application}/messageflows/{messageflow}/update-thread-pool

    After executing these APIs you will see the property "Threads capacity" which is reported at message flow level in the Web UI will be updated.

    Cheers,
    Ben



    ------------------------------
    Ben Thompson
    IBM UK
    ------------------------------