| java.lang.Object com.mockrunner.example.jms.NewsSubscriber
NewsSubscriber | public class NewsSubscriber (Code) | | Simple class that connects to a message server and dumps all
messages to stdout. The first command line parameter is
the INITIAL_CONTEXT_FACTORY of the server, the second one
is the PROVIDER_URL. With the third parameter, received messages
can be limited to those, that match a specified subject (i.e.
a string property with the name subject ).
|
Method Summary | |
public void | init() | public static void | main(String[] args) |
|
|