Overview:
=========
  The purpose of the notifications quickstart sample is to demonstrate how to 
  use the various Notifier classes. This quickstaart provides a client with
  the ability to send a message to the NotificationService/SimpleNotifier 
  service and receive notifications of various types.

  The following notification scenarios are demonstrated:
  
  NotifyConsole
  NotifyEmail*
  NotifyQueue
  NotifyTopic
  NotifyFTP*
  NotifyFiles*
  NotifySQLTable*
  

  All of the notification scenarios with asterisk have been disbled by
  being commented out in jboss-esb.xml. You can enable them for execution by 
  removing the comments. Some of these scenarios require additional software 
  to be setup:

  NotifyFTP - requires an FTP server to be avilable for use
  NotifySQLTable - requires an SQL database with certain tables to be avilable

  See the jboss-esb.xml file for more details on these requirements.

  NotifyConsole will write the contents of the ESB message to the Application
  Server console. NotifyQueue will translate the ESB message into a JMS 
  message and send it to the Queue "queue/quickstarts_notifications_queue". 
  NotifyTopic will translate the ESB message into a JMS 
  message and publish it to the Topic "topic/quickstarts_notifications_topic"

Running this quickstart:
========================
  Please refer to 'ant help-quickstarts' for prerequisites about the quickstart
  and a more detailed descripton of the different ways to run the quickstarts.

To Run standalone mode:
=======================
  1. In a command terminal window in the quickstart folder type
     'ant deploy-jms-dests'.
  2. In a command terminal window in this folder ("Window1"), type 'ant run'.
  3. Open another command terminal window in this folder ("Window2"), type
     'ant runtest'.
  4. Switch back to "Window1" to see the output from the ESB
  5. When finished, interrupt the ESB using Ctrl-C and, in this folder
     ("Window1"), type 'ant undeploy-jms-dests'.

To Run '.esb' archive mode:
===========================
  1. In a command terminal window in this folder ("Window1"), type 'ant deploy'
     to deploy the archive quickstart_notifications.esb. This will also
     deploy the necessary queues and topics for the quickstart.
  2. In another command terminal window in this folder ("Window2"), type
     'ant receive-from-queue'. This will start a process to receive messages
     sent to the Queue 'queue/quickstart_notifications_queue'. 
  3. In another command terminal window in this folder ("Window3"), type
     'ant receive-from-topic'. This will start a process to receive messages
     sent to the Topic 'topic/quickstart_notifications_topic'. 
  4. Open another command terminal window in this folder ("Window4"), type
     'ant runtest'. 
  5. Switch back to Application Server console to see the output from the ESB
  6. You should see notification messages received by the Queue in Window2 and 
     the Topic in Window3. For example, in the case of ("Window2"):

     [echo] Runs Queue destination message receiver
     [java] Receiving on: queue/quickstart_notifications_queue
     [java] Initialised
     [java] *********************************************************
     [java] Hello from ESB-unaware JMS Client
     [java] *********************************************************

  7. In ("Window2"), type Ctrl-C to kill the process listening on the Queue.
  8. In ("Window3"), type Ctrl-C to kill the process listening on the Topic.
  9. In this folder ("Window1"), type 'ant undeploy' to undeploy the ESB
     archive from the ESB.
