|
@@ -9,6 +9,7 @@ import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
|
|
+import org.springframework.http.converter.protobuf.ProtobufHttpMessageConverter;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -35,6 +36,11 @@ public class Application {
|
|
|
return new FeatureClient();
|
|
|
}
|
|
|
|
|
|
+ @Bean
|
|
|
+ public ProtobufHttpMessageConverter protobufHttpMessageConverter() {
|
|
|
+ return new ProtobufHttpMessageConverter();
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|