-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
camel-quarkus-http doesn't build native image - Random/SplittableRandom #2793
Comments
Please can you provide some more information about how your |
Sure @jamesnetherton , there are multiple "to" like this: .toF("https://%s%s?throwExceptionOnFailure=false&cookieHandler=#instanceCookieHandler&..", a,b) I have 3 "direct" routes, with some minor exception handling retries like this: onException(RejectedExecutionException.class)
.maximumRedeliveries(3).redeliveryDelay(500); I use choice() , unmarshal, etc too. |
BTw I use a toD too as I need to get some dynamic values from header: .toD("https://" + url + "ACK?throwExceptionOnFailure=false&cookieHandler=#instanceCookieHandler&ClientKey=${exchangeProperty[key]}") |
It was the |
The only auth thing I did was manually set Authorization header like this: .setHeader("Authorization", constant("Basic " + basicAuth)) |
Here is my quarkus and camel-quarkus dependencies: <dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-hibernate-orm</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-flyway</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-jdbc-mariadb</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jsonb</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-arc</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-reactive-messaging-kafka</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-timer</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-log</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-microprofile-health</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-microprofile-metrics</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-http</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-kafka</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-jackson</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-bean</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-direct</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-jsonpath</artifactId>
</dependency>
<!-- FOR LOCALDATETIME MARSHAL/UNMARSHAL-->
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency> |
Unfortunately we lack native test coverage for authentication (#2794). So this issue was not noticed. As a workaround, you could try adding this configuration property to
|
When using Quarkus (v 1.13.7, didn't check others) and using http routes (camel-quarkus-http) trying to build native, it throws this error:
The text was updated successfully, but these errors were encountered: