diff --git a/integration-test-groups/foundation/core-thread-pools/src/test/java/org/apache/camel/quarkus/core/CoreThreadPoolsTest.java b/integration-test-groups/foundation/core-thread-pools/src/test/java/org/apache/camel/quarkus/core/CoreThreadPoolsTest.java index 959bf9fd5e6a..3375f166fbfb 100644 --- a/integration-test-groups/foundation/core-thread-pools/src/test/java/org/apache/camel/quarkus/core/CoreThreadPoolsTest.java +++ b/integration-test-groups/foundation/core-thread-pools/src/test/java/org/apache/camel/quarkus/core/CoreThreadPoolsTest.java @@ -16,6 +16,7 @@ */ package org.apache.camel.quarkus.core; +import io.quarkus.test.junit.DisabledOnIntegrationTest; import io.quarkus.test.junit.QuarkusTest; import org.junit.jupiter.api.Test; @@ -30,6 +31,7 @@ public void testDefaultThreadPoolConfiguredByProperties() { get("/core/thread-pools/default").then().body(is("default|true|5|10|20|DiscardOldest")); } + @DisabledOnIntegrationTest("https://github.com/apache/camel-quarkus/issues/4011") @Test public void testCustomThreadPoolsConfiguredByProperties() { get("/core/thread-pools/customPool").then().body(is("customPool|false|1|10|20|Abort")); diff --git a/integration-tests/jq/src/main/java/org/apache/camel/quarkus/component/jq/it/JqRoutes.java b/integration-tests/jq/src/main/java/org/apache/camel/quarkus/component/jq/it/JqRoutes.java index 18589c84f865..2fa69f5961f1 100644 --- a/integration-tests/jq/src/main/java/org/apache/camel/quarkus/component/jq/it/JqRoutes.java +++ b/integration-tests/jq/src/main/java/org/apache/camel/quarkus/component/jq/it/JqRoutes.java @@ -16,12 +16,20 @@ */ package org.apache.camel.quarkus.component.jq.it; +import java.util.Map; + import org.apache.camel.builder.RouteBuilder; public class JqRoutes extends RouteBuilder { @Override public void configure() throws Exception { + // TODO: Revert back to using config properties + // https://github.com/apache/camel-quarkus/issues/4011 + Map globalOptions = getContext().getGlobalOptions(); + globalOptions.put("CamelJacksonEnableTypeConverter", "true"); + globalOptions.put("CamelJacksonTypeConverterToPojo", "true"); + from("direct:expression") .transform().jq(".foo") .to("mock:expression"); diff --git a/integration-tests/jq/src/main/resources/application.properties b/integration-tests/jq/src/main/resources/application.properties index 26d93d354f00..98686c9447cb 100644 --- a/integration-tests/jq/src/main/resources/application.properties +++ b/integration-tests/jq/src/main/resources/application.properties @@ -14,5 +14,7 @@ ## See the License for the specific language governing permissions and ## limitations under the License. ## --------------------------------------------------------------------------- -camel.context.global-options[CamelJacksonEnableTypeConverter] = true -camel.context.global-options[CamelJacksonTypeConverterToPojo] = true + +# https://github.com/apache/camel-quarkus/issues/4011 +#camel.context.global-options[CamelJacksonEnableTypeConverter] = true +#camel.context.global-options[CamelJacksonTypeConverterToPojo] = true