|
56 | 56 |
|
57 | 57 | <spotless.check.skip>true</spotless.check.skip> |
58 | 58 | <slf4j.version>1.7.36</slf4j.version> |
| 59 | + <netty.version>4.2.3.Final</netty.version> |
59 | 60 | <metrics.version>4.2.33</metrics.version> |
60 | 61 | <micrometer.version>1.15.2</micrometer.version> |
61 | 62 | <opentelemetry.version>1.52.0</opentelemetry.version> |
|
245 | 246 | </build> |
246 | 247 | </profile> |
247 | 248 |
|
248 | | - <!-- |
249 | | - Profile to activate the NIO mode in the test suite: |
250 | | - mvn verify -P use-nio |
251 | | - --> |
252 | | - <profile> |
253 | | - <id>use-nio</id> |
254 | | - <build> |
255 | | - <plugins> |
256 | | - <plugin> |
257 | | - <groupId>org.apache.maven.plugins</groupId> |
258 | | - <artifactId>maven-failsafe-plugin</artifactId> |
259 | | - <version>${maven.failsafe.plugin.version}</version> |
260 | | - <configuration> |
261 | | - <systemPropertyVariables> |
262 | | - <net.bytebuddy.experimental>true</net.bytebuddy.experimental> |
263 | | - <use.nio>true</use.nio> |
264 | | - </systemPropertyVariables> |
265 | | - <argLine>${test-arguments}</argLine> |
266 | | - </configuration> |
267 | | - </plugin> |
268 | | - </plugins> |
269 | | - </build> |
270 | | - </profile> |
271 | | - |
272 | 249 | <profile> |
273 | 250 | <!-- |
274 | 251 | The "snapshots" Maven profile is used to push release artifacts to a |
|
401 | 378 | <artifactId>slf4j-api</artifactId> |
402 | 379 | <version>${slf4j.version}</version> |
403 | 380 | </dependency> |
| 381 | + <dependency> |
| 382 | + <groupId>io.netty</groupId> |
| 383 | + <artifactId>netty-transport</artifactId> |
| 384 | + <version>${netty.version}</version> |
| 385 | + </dependency> |
| 386 | + <dependency> |
| 387 | + <groupId>io.netty</groupId> |
| 388 | + <artifactId>netty-codec</artifactId> |
| 389 | + <version>${netty.version}</version> |
| 390 | + </dependency> |
| 391 | + <dependency> |
| 392 | + <groupId>io.netty</groupId> |
| 393 | + <artifactId>netty-handler</artifactId> |
| 394 | + <version>${netty.version}</version> |
| 395 | + </dependency> |
404 | 396 | <dependency> |
405 | 397 | <groupId>io.dropwizard.metrics</groupId> |
406 | 398 | <artifactId>metrics-core</artifactId> |
|
509 | 501 | <scope>test</scope> |
510 | 502 | <optional>true</optional> |
511 | 503 | </dependency> |
| 504 | + <dependency> |
| 505 | + <groupId>io.netty</groupId> |
| 506 | + <artifactId>netty-transport-native-kqueue</artifactId> |
| 507 | + <version>${netty.version}</version> |
| 508 | + <classifier>osx-aarch_64</classifier> |
| 509 | + <scope>test</scope> |
| 510 | + </dependency> |
| 511 | + <dependency> |
| 512 | + <groupId>io.netty</groupId> |
| 513 | + <artifactId>netty-transport-native-epoll</artifactId> |
| 514 | + <version>${netty.version}</version> |
| 515 | + <classifier>linux-x86_64</classifier> |
| 516 | + <scope>test</scope> |
| 517 | + </dependency> |
512 | 518 |
|
513 | 519 | </dependencies> |
514 | 520 |
|
|
768 | 774 | <configuration> |
769 | 775 | <java> |
770 | 776 | <includes> |
| 777 | + <include>src/main/java/com/rabbitmq/client/ConnectionFactory.java</include> |
| 778 | + <include>src/main/java/com/rabbitmq/client/impl/NettyFrameHandlerFactory.java</include> |
771 | 779 | <include>src/main/java/com/rabbitmq/client/observation/**/*.java</include> |
772 | 780 | <include>src/test/java/com/rabbitmq/client/test/functional/MicrometerObservationCollectorMetrics.java</include> |
| 781 | + <include>src/test/java/com/rabbitmq/client/test/NettyTest.java</include> |
| 782 | + <include>src/test/java/com/rabbitmq/client/test/ProtocolVersionMismatch.java</include> |
| 783 | + <include>src/test/java/com/rabbitmq/client/test/TestUtils.java</include> |
773 | 784 | </includes> |
774 | 785 | <googleJavaFormat> |
775 | 786 | <version>${google-java-format.version}</version> |
|
0 commit comments