在我的項目「DE」中,我有很多服務,比如snmp,DiameterService,Cli服務等等。我想爲它創建一個微服務架構,使用像DE1這樣的彈簧引導進行SNMP,DE2, DE3等將在Eureka註冊中心註冊。但我不想通過REST implementationaion訪問服務。除此之外,還有其他方式可以做到這一點。在沒有休息服務的情況下使用彈簧引導來實現微服務
<?xml version="1.0" encoding="UTF-8"?>
<service-config-list>
<service-config>
<service-name>SNMPService</service-name>
<service-class-name>snmpService</service-class-name>
<service-status>true</service-status>
</service-config>
<service-config>
<service-name>IPC_MSG</service-name>
service-status>true</service-status>
</service-config>
<!--
<service-config>
<service-name>ControllerService</service-name>
<service-class-name>controllerService</service-class-name>
<service-status>false</service-status>
</service-config>
<service-config>
<service-name>SubsNetworkNotfService</service-name>
<service-class-name>subsNetworkNotfService</service-class-name
<service-status>false</service-status>
</service-config> -->
<service-config>
<service-name>TariffCheckService</service-name>
<service-class-name>tariffCheckService</service-class-name>
<service-status>true</service-status>
</service-config>
<service-config>
<service-name>DiameterService</service-name>
<service-class-name>diameterService</service-class-name>
<service-status>true</service-status>
</service-config>
<service-config>
<service-name>CLIService</service-name>
<service-class-name>cliService</service-class-name>
<service-status>false</service-status>
</service-config>
當你說你「有很多像......一樣的服務」時,你是什麼意思?你能分享一些更多的實現細節嗎? – miensol
@miensol:我添加了詳細信息。 –