1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.ksb.util; |
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
public final class KSBConstants { |
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
public static final class Config { |
30 | |
public static final String SERVICE_NAMESPACE = "service.namespace"; |
31 | |
public static final String MESSAGE_PERSISTENCE = "message.persistence"; |
32 | |
public static final String MESSAGING_OFF = "message.off"; |
33 | |
public static final String MESSAGE_DELIVERY = "message.delivery"; |
34 | |
public static final String INJECTED_EXCEPTION_MESSAGE_SCHEDULER_KEY = "message.injected.scheduler"; |
35 | |
public static final String FIXED_POOL_SIZE = "ksb.fixedPoolSize"; |
36 | |
public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_KEY = "RouteQueue.maxRetryAttempts"; |
37 | |
public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_OVERRIDE_KEY = "RouteQueue.maxRetryAttemptsOverride"; |
38 | |
public static final String ROUTE_QUEUE_TIME_INCREMENT_KEY = "RouteQueue.timeIncrement"; |
39 | |
public static final String IMMEDIATE_EXCEPTION_ROUTING = "Routing.ImmediateExceptionRouting"; |
40 | |
public static final String ALLOW_SYNC_EXCEPTION_ROUTING = "rice.ksb.allowSyncExceptionRouting"; |
41 | |
public static final String KSB_ALLOW_SELF_SIGNED_SSL = "rice.ksb.config.allowSelfSignedSSL"; |
42 | |
public static final String KSB_MESSAGE_DATASOURCE = "ksbMessage.datasource"; |
43 | |
public static final String KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE = "ksbMessage.nonTransactional.datasource"; |
44 | |
public static final String KSB_REGISTRY_DATASOURCE = "ksbRegistry.datasource"; |
45 | |
public static final String KSB_MESSAGE_DATASOURCE_JNDI = "ksbMessage.datasource.jndi.location"; |
46 | |
public static final String KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE_JNDI = "ksbMessage.nonTransactional.datasource.jndi.location"; |
47 | |
public static final String KSB_REGISTRY_DATASOURCE_JNDI = "ksbRegistry.datasource.jndi.location"; |
48 | |
public static final String USE_QUARTZ_DATABASE = "useQuartzDatabase"; |
49 | |
public static final String KSB_ALTERNATE_ENDPOINTS = "ksb.alternateEndpoints"; |
50 | |
public static final String KSB_ALTERNATE_ENDPOINT_LOCATIONS = "ksb.alternateEndpointLocations"; |
51 | |
public static final String LOAD_KNS_MODULE_CONFIGURATION = "rice.ksb.loadKNSModuleConfiguration"; |
52 | |
public static final String RESTFUL_SERVICE_PATH = "rice.ksb.restfulServicePath"; |
53 | |
|
54 | 0 | private Config() { |
55 | 0 | throw new UnsupportedOperationException("do not call"); |
56 | |
} |
57 | |
} |
58 | |
|
59 | |
|
60 | |
|
61 | |
public static final String MESSAGING_SYNCHRONOUS = "synchronous"; |
62 | |
public static final String ROUTE_QUEUE_QUEUED = "Q"; |
63 | |
public static final String ROUTE_QUEUE_EXCEPTION = "E"; |
64 | |
public static final String ROUTE_QUEUE_ROUTING = "R"; |
65 | |
public static final String ROUTE_QUEUE_EXCEPTION_LABEL = "EXCEPTION"; |
66 | |
public static final String ROUTE_QUEUE_ROUTING_LABEL = "ROUTING"; |
67 | |
public static final String ROUTE_QUEUE_QUEUED_LABEL = "QUEUED"; |
68 | 0 | public static final Integer ROUTE_QUEUE_DEFAULT_PRIORITY = new Integer(5); |
69 | |
public static final String ROUTE_QUEUE_FILTER_SUFFIX = "Filter"; |
70 | |
|
71 | |
public static final String FORWARD_HANDLER_SUFFIX = "-forwardHandler"; |
72 | |
|
73 | |
|
74 | |
public static final String DIGITAL_SIGNATURE_HEADER = "KEW_DIGITAL_SIGNATURE"; |
75 | |
public static final String KEYSTORE_ALIAS_HEADER = "KEW_KEYSTORE_ALIAS"; |
76 | |
public static final String KEYSTORE_CERTIFICATE_HEADER = "KEW_CERTIFICATE_ALIAS"; |
77 | |
|
78 | |
public static final class ServiceNames { |
79 | |
public static final String BAM_SERVICE = "bamService"; |
80 | |
public static final String BUS_ADMIN_SERVICE = "busAdminService"; |
81 | |
public static final String BUS_IN_INTERCEPTORS = "ksbInInterceptors"; |
82 | |
public static final String BUS_OUT_INTERCEPTORS = "ksbOutInterceptors"; |
83 | |
public static final String CACHE_ADMINISTRATOR_FACTORY = "enKEWCacheAdministratorFactoryService"; |
84 | |
public static final String CXF_BUS = "cxf"; |
85 | |
public static final String CXF_SERVER_REGISTRY = "org.apache.cxf.endpoint.ServerRegistry"; |
86 | |
public static final String CXF_SERVLET_TRANSPORT_FACTORY = "org.apache.cxf.transport.servlet.ServletTransportFactory"; |
87 | |
public static final String DIGITAL_SIGNATURE_SERVICE = "digitalSignatureService"; |
88 | |
public static final String ENCRYPTION_SERVICE = "enEncryptionService"; |
89 | |
public static final String EXCEPTION_MESSAGING_SERVICE = "exceptionMessagingService"; |
90 | |
public static final String JAVA_SECURITY_MANAGEMENT_SERVICE = "ksbJavaSecurityManagementService"; |
91 | |
public static final String JTA_TRANSACTION_MANAGER = "jtaTransactionManager"; |
92 | |
public static final String MESSAGE_DATASOURCE = "ksbMessageDataSource"; |
93 | |
public static final String MESSAGE_ENTITY_MANAGER_FACTORY = "ksbMessageEntityManagerFactory"; |
94 | |
public static final String MESSAGE_HELPER = "enMessageHelper"; |
95 | |
public static final String MESSAGE_NON_TRANSACTIONAL_DATASOURCE = "ksbMessageNonTransactionalDataSource"; |
96 | |
public static final String OBJECT_REMOTER = "ObjectRemoterService"; |
97 | |
public static final String REGISTRY_DATASOURCE = "ksbRegistryDataSource"; |
98 | |
public static final String REGISTRY_ENTITY_MANAGER_FACTORY = "ksbRegistryEntityManagerFactory"; |
99 | |
public static final String REMOTED_SERVICE_REGISTRY = "enServiceInvoker"; |
100 | |
public static final String REPEAT_TOPIC_INVOKING_QUEUE = "enRepeatTopicInvokerQueue"; |
101 | |
public static final String ROUTE_QUEUE_SERVICE = "enRouteQueueService"; |
102 | |
public static final String SERVICE_REGISTRY = "serviceRegistry"; |
103 | |
public static final String SCHEDULED_THREAD_POOL_SERVICE = "enScheduledThreadPool"; |
104 | |
public static final String SCHEDULER = "ksbScheduler"; |
105 | |
public static final String SERVICE_REMOVER_SERVICE = "RemoteClassRemoverService"; |
106 | |
public static final String THREAD_POOL_SERVICE = "enThreadPool"; |
107 | |
public static final String TRANSACTION_MANAGER = "transactionManager"; |
108 | |
public static final String TRANSACTION_TEMPLATE = "transactionTemplate"; |
109 | |
|
110 | 0 | private ServiceNames() { |
111 | 0 | throw new UnsupportedOperationException("do not call"); |
112 | |
} |
113 | |
} |
114 | |
|
115 | 0 | private KSBConstants() { |
116 | 0 | throw new UnsupportedOperationException("do not call"); |
117 | |
} |
118 | |
|
119 | |
} |