1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.transport.stdio.i18n; |
12 | |
|
13 | |
import org.mule.api.endpoint.ImmutableEndpoint; |
14 | |
import org.mule.config.i18n.Message; |
15 | |
import org.mule.config.i18n.MessageFactory; |
16 | |
import org.mule.transport.stdio.StdioConnector; |
17 | |
|
18 | 0 | public class StdioMessages extends MessageFactory |
19 | |
{ |
20 | 0 | private static final StdioMessages factory = new StdioMessages(); |
21 | |
|
22 | 0 | private static final String BUNDLE_PATH = getBundlePath(StdioConnector.STDIO); |
23 | |
|
24 | |
public static Message couldNotFindStreamWithName(ImmutableEndpoint endpoint) |
25 | |
{ |
26 | 0 | String address = endpoint.getEndpointURI().getAddress(); |
27 | 0 | return factory.createMessage(BUNDLE_PATH, 1, address); |
28 | |
} |
29 | |
} |
30 | |
|
31 | |
|