123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- {
- "Sers": {
- "Mq": {
- "Socket": {
- /* ServiceCenter ����� host��ַ */
- "host": "127.0.0.1",
- /* ServiceCenter ����� �����˿ں� */
- "port": 4501,
- /* �����DZ������� */
- //(x.1)workThread
- /* ��̨������Ϣ���̸߳�������λ����Ĭ��16�� */
- "workThreadCount": 16,
- //(x.2)ping
- /* �������Գ�ʱʱ�䣨��λms��Ĭ��2000�� */
- "pingTimeout": 20000,
- /* ��������ʧ�����Դ�������λ�Σ�Ĭ��3�� */
- "pingRetryCount": 3,
- /* ��������ʱ�������λms��Ĭ��1000�� */
- "pingInterval": 1000,
- //(x.3)request
- /* ����ʱʱ�䣨��λms��Ĭ��300000�� */
- "requestTimeout": 300000,
- //(x.4)secretKey
- /* ������Կ��������֤���Ӱ�ȫ�ԡ�����˺Ϳͻ��˱���һ�� */
- "secretKey": "SersSocketMq"
- }
- },
- /* ���л�����,�ɲ�ָ�� */
- "Serialization": {
- /* ���л��ַ����롣�ɲ�ָ����Ĭ�� UTF8��ֻ��Ϊ UTF7,UTF8,UTF32,ASCII,Unicode�� */
- "Encoding": "UTF8"
- },
- /* ApiStation վ������,�ɲ�ָ�� */
- "ApiStation": {
- /* �Ƿ� �������Api�ĵ�����Ϣ����ApiTrace��Log�ļ���Ĭ��:false */
- "PrintTrace": false,
-
- /* Ĭ��վ�����ƣ��ɶ��,�ɲ�ָ�� */
- "apiStationName": [ "JStationDemo" ],
-
- /* ���������ã�ͨ������Ӵ˰��л�ȡҪע���api���ɶ��,�ɲ�ָ���� */
- "DiscoveryConfig": [
- {
- /* ǿ��ָ��ApiStation���ơ��ɲ�ָ���������ȼ��Ӹߵ��ͣ� apiStationName_Force �� �ڴ����ϵ�SsStationNameAttribute����ָ�� �� apiStationName �� appsettings.jsonָ���� */
- "apiStationName_Force": "",
- /* ApiStation���ơ��ɲ�ָ���������ȼ��Ӹߵ��ͣ� apiStationName_Force �� �ڴ����ϵ�SsStationNameAttribute����ָ�� �� apiStationName �� appsettings.jsonָ���� */
- "apiStationName": "JStationDemo",
- /* �ڴ˰��в��ҷ���(�� StationDemo.Controllers) */
- "packageName": "StationDemo.Controllers",
- /* ǿ��·��ǰ,���磺"demo/v1"���ɲ�ָ���������ȼ��Ӹߵ��ͣ� routePrefix_Force���ڴ����ϵ�SsRoutePrefixAttribute����ָ�� �� routePrefix�� */
- "routePrefix_Force": "",
- /* ·��ǰ,���磺"demo/v1"���ɲ�ָ���������ȼ��Ӹߵ��ͣ� routePrefix_Force���ڴ����ϵ�SsRoutePrefixAttribute����ָ�� �� routePrefix �� */
- "routePrefix": ""
- }
- ]
-
-
-
- },
- /* ServiceStation����,�ɲ�ָ�� */
- "ServiceStation": {
- /* �Ƿ� �Զ��ϱ�cpu Usage��Ĭ��:false */
- "UsageReporter": false,
- /* print the log to console. default:false */
- "Console_PrintLog": true,
- /* ��������ע�����á������������ע��վ��ǰ �Ƿ��ӡ��Logger.Info�����������Ĭ��:false */
- "StationRegist_PrintRegistArg": false,
- /* serviceStationվ����Ϣ */
- "serviceStationInfo": {
- "serviceStationName": "JStationDemo",
- "serviceStationKey": "serviceStationKey_java001",
- "stationVersion": "1.2.0",
- "info": null
- }
- /* ����վ�㲿�������豸����Ϣ */
- ,"deviceInfo": {
- "deviceKey": "deviceKey_java001",
- "OSPlatform": "WINDOWS",
- "OSArchitecture": "X64",
- "OSDescription": "Microsoft Windows 10.0.17134 ",
- "ProcessArchitecture": "X64",
- "Is64BitOperatingSystem": true,
- "ProcessorCount": 8,
- "MachineName": "WIN10F",
- "OSVersion": "Microsoft Windows NT 6.2.9200.0",
- "WorkingSet": 28180480
- }
- }
- }
-
- }
|