[jboss-cvs] jboss-mail/src/java/org/jboss/mail/maillistener ...

Andy Oliver acoliver at jboss.org
Tue Jul 18 17:12:02 EDT 2006


  User: acoliver
  Date: 06/07/18 17:12:02

  Modified:    src/java/org/jboss/mail/maillistener 
                        MailListJMSMailListener.java
  Log:
  remove spurrious sys.errs
  
  Revision  Changes    Path
  1.11      +1 -6      jboss-mail/src/java/org/jboss/mail/maillistener/MailListJMSMailListener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MailListJMSMailListener.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-mail/src/java/org/jboss/mail/maillistener/MailListJMSMailListener.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- MailListJMSMailListener.java	11 Jun 2006 14:06:22 -0000	1.10
  +++ MailListJMSMailListener.java	18 Jul 2006 21:12:02 -0000	1.11
  @@ -54,7 +54,7 @@
    * At current this needs to be early in the chain.
    * 
    * @author Andrew C. Oliver
  - * @version $Revision: 1.10 $
  + * @version $Revision: 1.11 $
    */
   public class MailListJMSMailListener extends ServiceMBeanSupport implements
           MailListJMSMailListenerMBean, MailListener {
  @@ -112,14 +112,12 @@
        */
       public void startService() throws Exception {
          // InitialContext ctx = new InitialContext();
  -        System.err.println("** destination type is "+destType); 
         /*  if (destType.equals("topic")) {
               // TODO: make configurable
               tcf = (TopicConnectionFactory) ctx
                       .lookup(topicConnectionFactoryName);
               destinationTopic = (Topic) ctx.lookup("topic/" + destination);
           } else {
  -            System.err.println("***in QCF construction");
               // TODO: make configurable
               qcf = (QueueConnectionFactory) ctx
                       .lookup(queueConnectionFactoryName);
  @@ -248,11 +246,8 @@
           QueueConnectionFactory cf = (QueueConnectionFactory)ctx.lookup(connectionFactoryName);
           Queue queue = (Queue)ctx.lookup("queue/"+destination);
           Mail mail = (Mail) msg;
  -        System.err.println("***in sendMessageQueue");
           QueueConnection qc = cf.createQueueConnection();
  -        System.err.println("***in sendMessageQueue got queue connection");
           QueueSession qs = qc.createQueueSession(true, 0);
  -        System.err.println("***in sendMessageQueue got queue session");
   
           try {
               putMessageOnQueue(qs, queue, mail);
  
  
  



More information about the jboss-cvs-commits mailing list