1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
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 | |
|
34 | 0 | } |
35 | |
|
36 | |
protected void doDispose() |
37 | |
{ |
38 | |
|
39 | 0 | } |
40 | |
|
41 | |
protected void doConnect() throws Exception |
42 | |
{ |
43 | |
|
44 | 0 | } |
45 | |
|
46 | |
protected void doDisconnect() throws Exception |
47 | |
{ |
48 | |
|
49 | 0 | } |
50 | |
|
51 | |
protected void doStart() |
52 | |
{ |
53 | |
|
54 | 0 | } |
55 | |
|
56 | |
protected void doStop() |
57 | |
{ |
58 | |
|
59 | 0 | } |
60 | |
} |