View Javadoc

1   /*
2    * $Id: UnsupportedMessageRequester.java 20321 2010-11-24 15:21:24Z dfeist $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.transport;
12  
13  import org.mule.api.MuleMessage;
14  import org.mule.api.endpoint.InboundEndpoint;
15  
16  public final class UnsupportedMessageRequester extends AbstractMessageRequester
17  {
18  
19      public UnsupportedMessageRequester(InboundEndpoint endpoint)
20      {
21          super(endpoint);
22      }
23  
24      protected MuleMessage doRequest(long timeout) throws Exception
25      {
26          throw new UnsupportedOperationException("Request not supported for this transport");
27      }
28  
29      protected void doInitialise()
30      {
31          // empty
32      }
33  
34      protected void doDispose()
35      {
36          // empty
37      }
38  
39      protected void doConnect() throws Exception
40      {
41          // empty
42      }
43  
44      protected void doDisconnect() throws Exception
45      {
46          // empty
47      }
48  
49      protected void doStart() 
50      {
51          // empty
52      }
53  
54      protected void doStop() 
55      {
56          // empty
57      }
58  }