You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jim Alateras <ji...@comware.com.au> on 2007/07/17 15:32:02 UTC

removing log.error

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());
         }
     }

Re: removing log.error

Posted by Rob Davies <ra...@gmail.com>.
sure - raise an issue in jira: https://issues.apache.org/activemq/ 
secure/CreateIssue!default.jspa

On Jul 17, 2007, at 2:32 PM, Jim Alateras wrote:

> 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());
>         }
>     }