main

 

public static void main(String[] args) 
              throws UnsupportedEncodingException;

Invokes the utility directly from a command line. We can use this if you use the broker-based subscription store. Syntax for bindings attach:

Cleanup [-m ] [-r ] [SAFE | STRONG | FORCE | NONDUR] [-t] Syntax for client attach:

Cleanup -client [-m ] -host [-port ] [-channel ] [-r ] [SAFE | STRONG | FORCE | NONDUR] [-t]

qmgr

the name of the queue manager.

hostname

the name of the host which is running the queue manager.

port

the port on which the queue manager is listening.

channel

the name of the channel.

interval

the interval between executions of cleanup, in minutes. If not set, cleanup is performed once.

-t

enables tracing, to the mqjms.trc file.

SAFE | STRONG | FORCE | NONDUR

sets type of clean up. See setCleanupLevel().


uj27390_