webMethods

webMethods

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.  TN Queue scheduled service

    Posted Tue May 19, 2009 08:31 AM

    We are using TN Public queues for batch processing. Whenever a Public queue is created on Trading Networks, a related wm.tn.queuing:deliverBatch service is Scheduled for the queue with specified time interval. However, I can’t find anything on the Scheduler’s page that indicates which deliverBatch services are attached to which queue.

    Does anyone know how I can determine that without having to specify different time intervals for each queue?


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 2.  RE: TN Queue scheduled service

    Posted Tue May 19, 2009 12:05 PM

    When you create a queue, a scheduled service is created by Integration Server using services from “pub.scheduler” Folder. While creating the scheduled service, the Queuename like “Queue1” is set as input. Unfortunately you do not
    see that input in Administrator-ScheduledServices-GUI.
    This means, to find out, which queues stand behind the scheduled service, create a custom flow with the steps below:

    • pub.scheduler:getTaskIDs (gets all scheduled taskids)
    • Repeat for taskIDs
    • taskIDs → pub.scheduler:getTaskInfo (gets scheduled task infos)
    • if “service”-Parameter in pipeline equals “wm.tn.queuing:deliverBatch” do
    • extract inputs/queue from pipeline like “Queue1” (that is the queuename)
    • inputs/queue → wm.tn.queuing:getRegisteredQueue
    • evaluate queue-Document, queue/schedule/service-Parameter in Pipeline shows the Queue

    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods