com.croftsoft.core.net.jms
Class Courier

java.lang.Object
  extended by 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

Constructor Summary
Courier(Queue incomingQueue, Queue outgoingQueue)
           
Courier(Queue incomingQueue, Queue outgoingQueue, String jndiTopicName)
           
Courier(Queue incomingQueue, Queue outgoingQueue, String jndiTopicName, String jndiTopicConnectionFactoryName)
           
 
Method Summary
 void destroy()
           
 void init()
           
static void main(String[] args)
           
 void onMessage(Message message)
           
 void run()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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 Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)