xmlBlaster 2.2.0 API

org.xmlBlaster.client.reader
Class GetMessage

java.lang.Object
  extended by org.xmlBlaster.client.reader.GetMessage

public class GetMessage
extends java.lang.Object

Get from command line a message.
Use this as a command line tool to get for messages from xmlBlaster, for example for debugging reasons. Invoke examples:

    java org.xmlBlaster.client.reader.GetMessage  -loginName  Tim  -passwd  secret  -oid  __cmd:?totalMem
 
For other supported options type
    java org.xmlBlaster.client.reader.GetMessage -?
 


Field Summary
private  Global glob
           
private static java.util.logging.Logger log
           
private static java.lang.String ME
           
private  I_XmlBlasterAccess xmlBlasterConnection
           
 
Constructor Summary
GetMessage(Global glob)
          Constructs the GetMessage object.
 
Method Summary
 void get()
          Get the message from xmlBlaster.
static void main(java.lang.String[] args)
          Invoke: java org.xmlBlaster.client.reader.GetMessage -loginName Tim -passwd secret -oid __cmd:?totalMem
private  void usage()
          Command line usage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ME

private static final java.lang.String ME
See Also:
Constant Field Values

glob

private final Global glob

log

private static java.util.logging.Logger log

xmlBlasterConnection

private I_XmlBlasterAccess xmlBlasterConnection
Constructor Detail

GetMessage

public GetMessage(Global glob)
Constructs the GetMessage object.

Start with parameter -? to get a usage description.
These command line parameters are not merged with xmlBlaster.property properties.

Parameters:
args - Command line arguments
Method Detail

get

public void get()
         throws java.lang.Exception
Get the message from xmlBlaster.

Throws:
java.lang.Exception

usage

private void usage()
Command line usage.


main

public static void main(java.lang.String[] args)
Invoke: java org.xmlBlaster.client.reader.GetMessage -loginName Tim -passwd secret -oid __cmd:?totalMem


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.