DataPower

DataPower

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.  How to create MQ temporary queue on the fly?

    Posted 04/13/21 09:42 AM

    Hello from Finlandia.

    To make it short, I need a "caching solution" where caller should get response in timely fashion from DP although backend processing may take several seconds.

    Ideas are welcomed.

    MQ-scenario and question:

    • caller POSTs json payload to DP
    • DP will create a temporary queue on MQ (<-- possible?)
    • DP will put request to Q.TEMP queue and responds to caller
    • this ends synchoronous transaction
    • DP FSH reads Q.TEMP if exists and if message found starts a new transaction
    • DP processes message and sends towards the two backends. Processing time not critical.

    Question: am I able to create the MQ temp queue on the fly w/o touching MQ and it's config at all, assuming DP has privileges to do so?

    Any other ideas to answer back to the caller in between the transaction processing of DP? (i.e. cache the payload and process it apart of the caller transaction.

    BR, Timo



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: How to create MQ temporary queue on the fly?

    Posted 04/15/21 09:36 AM

    Hi,

    my use case was solved by User15732464970266615246 and d.m.spice in https://ibmsf.force.com/mysupport/s/question/0D50z00006AB86QCAT/micro-service-consolidation-pattern?language=en_US.

    To avoid using MQ at all as per above sugegstion made an asynchronous call rule containing the slow back-end part. This way I was ale to answer the caller immediately "processing" and let DP wait for backend results and log them.

    Thank you, Forums ;)

    BR, Timo



    #DataPower
    #Support
    #SupportMigration