Line | |
---|
1 | package omq.common.util; |
---|
2 | |
---|
3 | /** |
---|
4 | * |
---|
5 | * @author Sergi Toda <sergi.toda@estudiants.urv.cat> |
---|
6 | * |
---|
7 | */ |
---|
8 | public class ParameterQueue { |
---|
9 | |
---|
10 | /* |
---|
11 | * Properties environment |
---|
12 | */ |
---|
13 | |
---|
14 | public static String SERIALIZERNAME = "revo.serializer"; |
---|
15 | public static String ENABLECOMPRESSION = "revo.compression"; |
---|
16 | |
---|
17 | public static String SERVER_HOST = "revo.host"; |
---|
18 | public static String SERVER_PORT = "revo.port"; |
---|
19 | public static String SERVER_REGISTRY = "revo.registry"; |
---|
20 | |
---|
21 | public static String USER_NAME = "revo.username"; |
---|
22 | public static String USER_PASS = "revo.pass"; |
---|
23 | |
---|
24 | public static String RPC_EXCHANGE = "revo.rpc_exchange"; |
---|
25 | public static String RPC_QUEUE = "revo.rpc_queue"; |
---|
26 | public static String RPC_ROUTING_KEY = "revo.routing_key"; |
---|
27 | |
---|
28 | public static String RPC_REPLY_QUEUE = "revo.reply_queue_rpc"; |
---|
29 | public static String EVENT_REPLY_QUEUE = "revo.reply_queue_event"; |
---|
30 | |
---|
31 | public static String ENABLE_SSL = "revo.enable_ssl"; |
---|
32 | public static String DEBUGFILE = "revo.debug_file"; |
---|
33 | |
---|
34 | public static String RETRY_TIME_CONNECTION = "omq.retry_connection"; |
---|
35 | |
---|
36 | /* |
---|
37 | * Values |
---|
38 | */ |
---|
39 | |
---|
40 | // Change this!!! |
---|
41 | public static String RPC_TYPE = "direct"; |
---|
42 | |
---|
43 | public static String NUM_THREADS = "omq.num_threads"; |
---|
44 | |
---|
45 | public static String REGISTRY_NAME = "REGISTRY"; |
---|
46 | |
---|
47 | /** |
---|
48 | * Time in milis |
---|
49 | */ |
---|
50 | public static long DEFAULT_TIMEOUT = 1 * 1000 * 60; |
---|
51 | |
---|
52 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.