IBM FileNet P8, Version 5.2.1            

QueueSample

This sample demonstrates how to access and display queue contents, by using the sample QueueHelper class to display queue information.

Run the sample by entering a command similar to the following example:

    java QueueSample username password server_name:port_number/connectionPoint_name 
        queue_name output_filename

For more information, see the comments in the sample source. The samples are supplied in the Developer samples section of the IBM® FileNet® P8 Platform publication library.

See also Running the API Samples.

Methods

General descriptions of the QueueSample methods follow:

main()

The main method uses common techniques for validating and defaulting argument values. The default value for the log output file is QueueSample.out. It constructs and passes VWSession and sample Logger class objects to the constructor. Main() handles the login and logoff for the session with the login() and logoff() methods of the sample SessionHelper class. It also provides workflow logging with an instance of the sample Logger class.

QueueSample()

The QueueSample() constructor performs common exception handling and invokes methods from the sample QueueHelper class and VWQueue to display queue contents.



Last updated: October 2015
queuesample.htm

© Copyright IBM Corporation 2015.