org.apache.qpid.oldtopic
Class Listener
java.lang.Object
org.apache.qpid.oldtopic.Listener
- All Implemented Interfaces:
- MessageListener
public class Listener
- extends Object
- implements MessageListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Listener
Listener(Connection connection,
int ackMode)
throws Exception
- Throws:
Exception
Listener
Listener(Connection connection,
int ackMode,
String name)
throws Exception
- Throws:
Exception
onMessage
public void onMessage(Message message)
- Specified by:
onMessage
in interface MessageListener
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
Licensed to the Apache Software Foundation