activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Alateras <j...@comware.com.au>
Subject removing log.error
Date Tue, 17 Jul 2007 13:32:02 GMT
Is it possible to remove the log.error statement in the 
VMTransport.asyncOneWay method or degrade it to info

     protected void asyncOneWay(Object command) throws IOException{
         try{
             synchronized(mutex){
                 if(messageQueue==null){
                     messageQueue=new 
LinkedBlockingQueue(this.asyncQueueDepth);
                 }
             }
             messageQueue.put(command);
             wakeup();
         }catch(final InterruptedException e){
             log.error("messageQueue interupted",e);
             throw new IOException(e.getMessage());
         }
     }

Mime
View raw message