fix - fix starter_decode
This commit is contained in:
parent
4014b9e9bf
commit
6234a03ed1
@ -16,6 +16,7 @@ import org.slf4j.MDC;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.beans.factory.ObjectFactory;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
|
||||
import org.springframework.cloud.openfeign.FeignBuilderCustomizer;
|
||||
import org.springframework.cloud.openfeign.support.ResponseEntityDecoder;
|
||||
@ -61,6 +62,7 @@ public class WorkflowEngineStarterFeignConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
@ConditionalOnProperty(value = "workflow.engine.starter.metaFeign", havingValue = "false")
|
||||
public Decoder workflowEngineStarterDecoder(ObjectFactory<HttpMessageConverters> messageConverters) {
|
||||
return new WorkflowEngineStarterDecoder(new ResponseEntityDecoder(new SpringDecoder(messageConverters)));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user