Open enjoysun opened 4 years ago
update yml like this,but not works
server:
port: 8080
servlet:
jsp:
class-name: org.apache.dubbo.remoting.http.servlet.DispatcherServlet
#dubbo configuration
#
# scan base package
dubbo:
scan:
base-packages: com.yjcloud.material.collection.server.service
protocols:
dubbo:
name: dubbo
port: -1
payload: 11557050
server: netty
accepts: 1000
hessian:
name: hessian
port: -1
server: jetty # servlet
serialization: hessian2
application:
qos-enable: false
registry:
address: spring-cloud://localhost
group: collection-server
provider:
version: 1.0.0
delay: -1
timeout: 6000
loadbalance: leastactive
connections: 3
+1
Environment
Configuration
provider
consumer
Provider Pom
Consumer Instance Error
if protocol 'hessian convert to 'dubbo', it works