Skip to content

Commit

Permalink
Fix of Spring RabbitMQ integration test failures after spring update
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriOndrusek committed Mar 30, 2021
1 parent ba6963a commit 6af91dd
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,12 @@ Please refer to the above link for usage and configuration details.
----

Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.

== Camel Quarkus limitations

You can use component without any special configuration in the JVM mode.

In native mode you have to add compiler flag `-H:+InlineBeforeAnalysis`,
to allow removal in static methods (see https://github.com/oracle/graal/issues/2594[graal issue]).
Component fails without this flag in the native mode.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
You can use component without any special configuration in the JVM mode.

In native mode you have to add compiler flag `-H:+InlineBeforeAnalysis`,
to allow removal in static methods (see https://github.com/oracle/graal/issues/2594[graal issue]).
Component fails without this flag in the native mode.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## ---------------------------------------------------------------------------
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
quarkus.native.additional-build-args=-H:+InlineBeforeAnalysis
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<smallrye.reactive.messaging.camel.version>2.9.0</smallrye.reactive.messaging.camel.version> <!-- keep in sync with Quarkus SmallRye Reactive Messaging -->
<soap-api.version>1.4.0</soap-api.version><!-- keep in sync with Camel -->
<!-- Keep spring.version aligned with the version used by Camel -->
<spring.version>5.3.3</spring.version> <!-- Should be ${spring5-version}, workaround for https://github.com/apache/camel-quarkus/issues/2340 -->
<spring.version>${spring5-version}</spring.version>
<snakeyaml.version>${snakeyaml-version}</snakeyaml.version>
<snappy.version>1.1.7.7</snappy.version><!-- Spark -->
<threetenbp.version>1.4.0</threetenbp.version>
Expand Down

0 comments on commit 6af91dd

Please sign in to comment.