Skip to content

Commit 42aa7fb

Browse files
author
Sergei Malafeev
authored
Merge pull request #583 from jam01/master
Updates README re: latest changes. Also fixes #578
2 parents 6e03a8d + 383133d commit 42aa7fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ For the development of <ins>[Integration Rules](#64-integration-rule)</ins>, ple
583583
| [Lettuce Client](https://github.com/opentracing-contrib/java-redis-client/tree/master/opentracing-redis-lettuce) | [`lettuce`][lettuce] | 5.0.0.RELEASE | LATEST |
584584
| [MongoDB Driver](https://github.com/opentracing-contrib/java-mongo-driver) | [`mongo:driver`][mongo-driver] | 3.9.0 | LATEST |
585585
| Mule 4 Artifact Module | [`mule:artifact-module:4`][mule-4-module-artifact] | 4.2.2 | LATEST |
586-
| Mule 4 Http Service | [`mule:http-service:4`][mule-4-http-service] | 1.4.7 | LATEST |
587586
| Mule 4 Core | [`mule:core:4`][mule-4-core] | 4.2.2 | LATEST |
588587
| [Neo4j Driver](https://github.com/opentracing-contrib/java-neo4j-driver) | [`neo4j:driver`][neo4j-driver] | 4.0.0 | LATEST |
589588
| Netty | [`netty`][netty] | 4.1.0 | 4.1.46.Final |
@@ -599,7 +598,7 @@ For the development of <ins>[Integration Rules](#64-integration-rule)</ins>, ple
599598
| | [`rxjava:3`][rxjava-3] | 3.0.0 | LATEST |
600599
| [Spring JMS](https://github.com/opentracing-contrib/java-jms/tree/master/opentracing-jms-spring) | [`spring:jms`][spring-jms] | 5.0.0.RELEASE | LATEST |
601600
| [Spring Kafka](https://github.com/opentracing-contrib/java-kafka-client/tree/master/opentracing-kafka-spring) | [`spring:kafka`][spring-kafka] | 2.2.0.RELEASE | LATEST |
602-
| [Spring Messaging](https://github.com/opentracing-contrib/java-spring-messaging) | [`spring:messaging`][spring-messaging] | 5.1.0.RELEASE | LATEST |
601+
| [Spring Messaging](https://github.com/opentracing-contrib/java-spring-messaging) | [`spring:messaging`][spring-messaging] | 5.1.0.RELEASE | 5.3.0.RELEASE |
603602
| [Spring RabbitMQ](https://github.com/opentracing-contrib/java-spring-rabbitmq) | [`spring:rabbitmq`][spring-rabbitmq] | 2.0.0.RELEASE | LATEST |
604603
| [Spring WebFlux](https://github.com/opentracing-contrib/java-spring-web) | [`spring:webflux`][spring-webflux] | 5.1.0.RELEASE | LATEST |
605604
| [Spring Boot WebSocket STOMP](https://github.com/opentracing-contrib/java-spring-cloud/tree/master/instrument-starters/opentracing-spring-cloud-websocket-starter) | [`spring:websocket`][spring-websocket] | 2.1.0.RELEASE | LATEST |
@@ -774,7 +773,6 @@ This project is licensed under the Apache 2 License - see the [LICENSE.txt](LICE
774773
[lettuce]: https://github.com/opentracing-contrib/java-specialagent/tree/master/rule/lettuce
775774
[mongo-driver]: https://github.com/opentracing-contrib/java-specialagent/tree/master/rule/mongo-driver
776775
[mule-4-core]: https://github.com/opentracing-contrib/java-specialagent/tree/master/rule/mule-4-core
777-
[mule-4-http-service]: https://github.com/opentracing-contrib/java-specialagent/tree/master/rule/mule-4-http-service
778776
[mule-4-module-artifact]: https://github.com/opentracing-contrib/java-specialagent/tree/master/rule/mule-4-module-artifact
779777
[neo4j-driver]: https://github.com/opentracing-contrib/java-specialagent/tree/master/rule/neo4j-driver
780778
[netty]: https://github.com/opentracing-contrib/java-specialagent/tree/master/rule/netty

rule/servlet/src/main/java/io/opentracing/contrib/specialagent/rule/servlet/FilterAgentIntercept.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
package io.opentracing.contrib.specialagent.rule.servlet;
1717

1818
import java.io.IOException;
19+
import java.util.Collections;
20+
import java.util.Map;
1921
import java.util.WeakHashMap;
2022

2123
import javax.servlet.Filter;
@@ -35,7 +37,7 @@
3537
import io.opentracing.util.GlobalTracer;
3638

3739
public class FilterAgentIntercept extends ServletFilterAgentIntercept {
38-
public static final WeakHashMap<ServletResponse,Integer> servletResponseToStatus = new WeakHashMap<>();
40+
public static final Map<ServletResponse,Integer> servletResponseToStatus = Collections.synchronizedMap(new WeakHashMap<ServletResponse, Integer>());
3941

4042
public static void init(final Object thiz, final Object filterConfig) {
4143
if (filterConfig != null)

0 commit comments

Comments
 (0)