Layer7 API Management

Expand all | Collapse all

JMS poll Service Enable/Disable

Jump to Best Answer
  • 1.  JMS poll Service Enable/Disable

    Posted 11-06-2018 04:33 PM

    Hi,

     

    We have requirement to poll messages from JMS queue/Topic and post messages to target HTTP and also message to be retrievwed in queue till policy completed successfully. Which I could by using "On Completion" under Inbound option tab of "Manage JMS Destinations/Inbound".


    But in some situations when target HTTP service is not reachable due to some issues, JMS service is keep polling the message and transactions are getting logged. Do we have any way so we can disable and enable message polling from queue dynamically based on the target HTTP service availability

     

    Regards,

    Tarunraj



  • 2.  Re: JMS poll Service Enable/Disable
    Best Answer

    Posted 11-07-2018 02:40 AM

    Hi Tarunraj,

     

    How about switching enable/disable by the REST Management API (https://docops.ca.com/ca-api-gateway/9-3/en/apis-and-toolkits/rest-management-api)?
    I was able to check/uncheck the "Stop listening on this destination" checkbox in "Inbound Options" tab in "JMS Destination Properties" by using the API.

     

     

    Best regards,

    Seiji



  • 3.  Re: JMS poll Service Enable/Disable

    Posted 11-22-2018 04:07 AM

    Hi Tarunraj,

     

    Did the answer Seiji gave help you along? Do you have any further questions on this subject?

    Please mark Seiji's answer as correct, if that is what you needed.

     

    Thanks

    Conny



  • 4.  Re: JMS poll Service Enable/Disable

    Posted 11-28-2018 11:33 AM

    Hi 
    I believe your questions has been answered, I will mark this as the correct answer.
    When your question is not answered or you still have additional questions please let us know.
    With Kind Regards

    Dirk