This is an automated email from the ASF dual-hosted git repository.

davsclaus 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 1a0460b3c01 CAMEL-21315: rest-dsl - Throw exception if user trying to 
set to(endpoint) multiple times.
1a0460b3c01 is described below

commit 1a0460b3c018d41d339ca18e2f4c8ea8ced24285
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Oct 7 13:26:30 2024 +0200

    CAMEL-21315: rest-dsl - Throw exception if user trying to set to(endpoint) 
multiple times.
---
 .../java/org/apache/camel/builder/endpoint/EndpointQueryParamTest.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/dsl/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/EndpointQueryParamTest.java
 
b/dsl/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/EndpointQueryParamTest.java
index 0b45c634556..e19a182e123 100644
--- 
a/dsl/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/EndpointQueryParamTest.java
+++ 
b/dsl/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/EndpointQueryParamTest.java
@@ -30,7 +30,6 @@ class EndpointQueryParamTest extends BaseEndpointDslTest {
                 int port = AvailablePortFinder.getNextAvailable();
                 
restConfiguration().component("jetty").host("localhost").port(port);
                 rest().get("path/xyz")
-                    .to("log:myLogger?level=INFO&showAll=true")
                     .to("mock:result");
                 from(direct("test"))
                         
.to(http(String.format("localhost:%d/path/xyz?param1=1&param2=2", 
port)).httpMethod("GET"));

Reply via email to