Coverage Report - org.mule.transport.UnsupportedMessageDispatcher
 
Classes in this File Line Coverage Branch Coverage Complexity
UnsupportedMessageDispatcher
0%
0/10
N/A
1.222
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transport;
 8  
 
 9  
 import org.mule.api.MuleEvent;
 10  
 import org.mule.api.MuleMessage;
 11  
 import org.mule.api.endpoint.OutboundEndpoint;
 12  
 
 13  
 public final class UnsupportedMessageDispatcher extends AbstractMessageDispatcher
 14  
 {
 15  
 
 16  
     public UnsupportedMessageDispatcher(OutboundEndpoint endpoint)
 17  
     {
 18  0
         super(endpoint);
 19  0
     }
 20  
 
 21  
     protected void doDispatch(MuleEvent event) throws Exception
 22  
     {
 23  0
         throw new UnsupportedOperationException("Dispatch not supported for this transport.");
 24  
     }
 25  
 
 26  
     protected MuleMessage doSend(MuleEvent event) throws Exception
 27  
     {
 28  0
         throw new UnsupportedOperationException("Send not supported for this transport.");
 29  
     }
 30  
 
 31  
     protected void doInitialise()
 32  
     {
 33  
         // empty
 34  0
     }
 35  
 
 36  
     protected void doDispose()
 37  
     {
 38  
         // empty
 39  0
     }
 40  
 
 41  
     protected void doConnect() throws Exception
 42  
     {
 43  
         // empty
 44  0
     }
 45  
 
 46  
     protected void doDisconnect() throws Exception
 47  
     {
 48  
         // empty
 49  0
     }
 50  
 
 51  
     protected void doStart() 
 52  
     {
 53  
         // empty
 54  0
     }
 55  
 
 56  
     protected void doStop() 
 57  
     {
 58  
         // empty
 59  0
     }
 60  
 }