View Javadoc
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.MuleMessage;
10  import org.mule.api.endpoint.InboundEndpoint;
11  
12  public final class UnsupportedMessageRequester extends AbstractMessageRequester
13  {
14  
15      public UnsupportedMessageRequester(InboundEndpoint endpoint)
16      {
17          super(endpoint);
18      }
19  
20      protected MuleMessage doRequest(long timeout) throws Exception
21      {
22          throw new UnsupportedOperationException("Request not supported for this transport");
23      }
24  
25      protected void doInitialise()
26      {
27          // empty
28      }
29  
30      protected void doDispose()
31      {
32          // empty
33      }
34  
35      protected void doConnect() throws Exception
36      {
37          // empty
38      }
39  
40      protected void doDisconnect() throws Exception
41      {
42          // empty
43      }
44  
45      protected void doStart() 
46      {
47          // empty
48      }
49  
50      protected void doStop() 
51      {
52          // empty
53      }
54  }