This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 9fbae7d82fd CAMEL-19398: fixed camel-vertx tests due to incorrect converter setup (#11274) 9fbae7d82fd is described below commit 9fbae7d82fdc8e6578cc7758243eddbfa44ed986 Author: Otavio Rodolfo Piske <orpi...@users.noreply.github.com> AuthorDate: Fri Sep 1 16:33:51 2023 +0200 CAMEL-19398: fixed camel-vertx tests due to incorrect converter setup (#11274) --- .../http/vertx/VertxPlatformHttpEngineWithTypeConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpEngineWithTypeConverterTest.java b/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpEngineWithTypeConverterTest.java index 07dfec1b55f..ff23246dbc4 100644 --- a/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpEngineWithTypeConverterTest.java +++ b/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpEngineWithTypeConverterTest.java @@ -98,7 +98,7 @@ public class VertxPlatformHttpEngineWithTypeConverterTest { private TypeConverter mockByteBufferTypeConverter() { return new MockTypeConverter() { @Override - public <T> T tryConvertTo(Class<T> type, Exchange exchange, Object value) { + public <T> T convertTo(Class<T> type, Exchange exchange, Object value) { byte[] out = ("ByteBuffer:" + ((Map) value).get("bb")).getBytes(StandardCharsets.UTF_8); return type.cast(ByteBuffer.wrap(out)); }