1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.transport; |
12 | |
|
13 | |
import org.mule.api.MuleEvent; |
14 | |
import org.mule.api.MuleMessage; |
15 | |
import org.mule.api.endpoint.OutboundEndpoint; |
16 | |
|
17 | |
public final class UnsupportedMessageDispatcher extends AbstractMessageDispatcher |
18 | |
{ |
19 | |
|
20 | |
public UnsupportedMessageDispatcher(OutboundEndpoint endpoint) |
21 | |
{ |
22 | 0 | super(endpoint); |
23 | 0 | } |
24 | |
|
25 | |
protected void doDispatch(MuleEvent event) throws Exception |
26 | |
{ |
27 | 0 | throw new UnsupportedOperationException("Dispatch not supported for this transport."); |
28 | |
} |
29 | |
|
30 | |
protected MuleMessage doSend(MuleEvent event) throws Exception |
31 | |
{ |
32 | 0 | throw new UnsupportedOperationException("Send not supported for this transport."); |
33 | |
} |
34 | |
|
35 | |
protected void doDispose() |
36 | |
{ |
37 | |
|
38 | 0 | } |
39 | |
|
40 | |
protected void doConnect() throws Exception |
41 | |
{ |
42 | |
|
43 | 0 | } |
44 | |
|
45 | |
protected void doDisconnect() throws Exception |
46 | |
{ |
47 | |
|
48 | 0 | } |
49 | |
|
50 | |
} |