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.  Polling Process controlled from cmd line

    Posted Mon May 29, 2006 06:27 AM

    We know we can set a file Polling port on the IS.

    Can we control (start and/or stop) Polling from the command line?

    Thanks in advance!


    #Universal-Messaging-Broker
    #webMethods
    #broker
    #Integration-Server-and-ESB


  • 2.  RE: Polling Process controlled from cmd line

    Posted Tue May 30, 2006 05:19 PM

    Hi Bright,
    Currently there is no command line available to start and/or stop any IS File Polling port.

    However, though not advisable, you could dig through the IS Admin DSP pages to explore if there is any wm.server… service and try to find any which you can invoke from command line.

    You should be cautioned that wm.server… services are internal to the IS and there is no documentation available on these and they and their input/ouput signatures are subject to change from one IS version to another without any anouncement from WM and your command-line thus developed will stop working if it has changed.

    HTH,
    Bhawesh.


    #broker
    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 3.  RE: Polling Process controlled from cmd line

    Posted Wed May 31, 2006 04:15 PM

    There are two services available in WmArt:
    pub.art.notification:enablePollingNotification
    pub.art.notification:disablePollingNotification

    you could write a java wrapper for those pretty easily and execute them from a shell script - we did


    #Universal-Messaging-Broker
    #broker
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Polling Process controlled from cmd line

    Posted Wed May 31, 2006 04:46 PM

    Hi Bright,
    You wrote:
    “We know we can set a file Polling port on the IS. Can we control (start and/or stop) Polling from the command line?”

    Please confirm whether you were interested in knowing how to stop/start a file Polling port and not in a stop/start of a pollingNotification?

    Regards,
    Bhawesh.


    #Integration-Server-and-ESB
    #broker
    #Universal-Messaging-Broker
    #webMethods


  • 5.  RE: Polling Process controlled from cmd line

    Posted Thu June 01, 2006 05:56 AM

    Sorry, my bad. I misread the message. You are clearly looking for a file polling port. Please disregard my earlier post.


    #webMethods
    #Universal-Messaging-Broker
    #broker
    #Integration-Server-and-ESB


  • 6.  RE: Polling Process controlled from cmd line

    Posted Fri June 16, 2006 07:35 AM

    but the current status of PollingNotifications is “[I]Yes/i”?

    Which internal service takes care of this case, and how?

    Or what if you execute pub.art.notification:disablePollingNotification from the cmd line
    while the current status of PollingNotifications is “[I]No/i”?

    Thanks!


    #Universal-Messaging-Broker
    #webMethods
    #broker
    #Integration-Server-and-ESB