com.croftsoft.core.net.jms
Class Courier
java.lang.Object
com.croftsoft.core.net.jms.Courier
- All Implemented Interfaces:
- Commissionable, Destroyable, Initializable, Lifecycle, Resumable, Startable, Stoppable, Runnable, MessageListener
public final class Courier
- extends Object
- implements Lifecycle, MessageListener, Runnable
Exchanges serializable Objects with a Topic via Queues.
- Since:
- 2001-02-22
- Version:
- $Id: Courier.java,v 1.3 2008/09/20 04:12:46 croft Exp $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Courier
public Courier(Queue incomingQueue,
Queue outgoingQueue,
String jndiTopicName,
String jndiTopicConnectionFactoryName)
Courier
public Courier(Queue incomingQueue,
Queue outgoingQueue,
String jndiTopicName)
Courier
public Courier(Queue incomingQueue,
Queue outgoingQueue)
main
public static void main(String[] args)
init
public void init()
- Specified by:
init
in interface Initializable
start
public void start()
- Specified by:
start
in interface Startable
onMessage
public void onMessage(Message message)
- Specified by:
onMessage
in interface MessageListener
run
public void run()
- Specified by:
run
in interface Runnable
stop
public void stop()
- Specified by:
stop
in interface Stoppable
destroy
public void destroy()
- Specified by:
destroy
in interface Destroyable
CroftSoft Core Javadoc (2008-09-28 20:58:02)