org.apache.qpid.oldtopic
Class Listener

java.lang.Object
  extended by org.apache.qpid.oldtopic.Listener
All Implemented Interfaces:
MessageListener

public class Listener
extends Object
implements MessageListener


Constructor Summary
Listener(Connection connection, int ackMode)
           
Listener(Connection connection, int ackMode, String name)
           
 
Method Summary
static void main(String[] argv)
           
 void onMessage(Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Listener

Listener(Connection connection,
         int ackMode)
   throws Exception
Throws:
Exception

Listener

Listener(Connection connection,
         int ackMode,
         String name)
   throws Exception
Throws:
Exception
Method Detail

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