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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  How to view queued documents?

    Posted 09/02/11 08:55 PM

    Hello all you experts out there,

    Does anyone know if it’s possible to write a service using Broker java API to view the actual message that is stuck in the client queued?

    Please help.

    Thanks,
    Sam


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: How to view queued documents?

    Posted 09/23/11 08:29 AM

    Option 1:

    Login to MWS>Messaging and then click on the client which has queue…there you have option to see document queued.
    Option 2:
    Broker API code can also be wiritten using IS\common\lib\wm-brokerclient.jar


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How to view queued documents?

    Posted 09/23/11 04:18 PM

    Hi,

    As stated above you can of course go to MWS Portal where you will be able to browse the queue. (this is the simplest of all)

    The second option is to use Broker Java or C API.

    • Create an BrokerAdminClient connection
    • Create a new BrokerQueueBrowser object
    • Get the message you want in the format you need
    • Disconnect the BrokerAdminClient (if not you will have the client Admin queue still connected until timeout on broker)

    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: How to view queued documents?

    Posted 10/03/11 03:06 PM

    Thanks Jeremy. I followed your option 2, using the Broker Java APi and it work. However, i can only get the properties of the document, but not the actual data. Were you able to retrieve the actual data from the queue? If so, can you please explain how you did it?

    Thanks,
    Sam


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: How to view queued documents?

    Posted 10/08/11 06:12 AM


  • 6.  RE: How to view queued documents?

    Posted 10/08/11 06:26 AM