Skip to content

Commit

Permalink
Fix duplicated transmission
Browse files Browse the repository at this point in the history
  • Loading branch information
hexiaofeng committed Jan 18, 2025
1 parent d0d5154 commit 70d4819
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
@Extension(value = "ClientHttpRequestFactoryDefinition_v5", order = PluginDefinition.ORDER_TRANSMISSION)
@ConditionalOnTransmissionEnabled
@ConditionalOnClass(ClientHttpRequestFactoryDefinition.TYPE_CLIENT_HTTP_REQUEST_FACTORY)
@Deprecated
// Duplicated transmission with sun http client
public class ClientHttpRequestFactoryDefinition extends PluginDefinitionAdapter {

protected static final String TYPE_CLIENT_HTTP_REQUEST_FACTORY = "org.springframework.http.client.ClientHttpRequestFactory";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
* @author Zhiguo.Chen
* @since 1.0.0
*/
@Deprecated
// Duplicated transmission with sun http client
public class ClientHttpRequestFactoryInterceptor extends InterceptorAdaptor {

private final Propagation propagation;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
com.jd.live.agent.plugin.transmission.springweb.v5.definition.WebHandlerDecoratorDefinition
com.jd.live.agent.plugin.transmission.springweb.v5.definition.HandshakeWebSocketServiceDefinition
com.jd.live.agent.plugin.transmission.springweb.v5.definition.DefaultExchangeFunctionDefinition
com.jd.live.agent.plugin.transmission.springweb.v5.definition.ClientHttpRequestFactoryDefinition

0 comments on commit 70d4819

Please sign in to comment.