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 a461b1e
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/modules/ROOT/pages/reference/extensions/spring-rabbitmq.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,15 @@ 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 this extension without any special configuration in JVM mode.

In native mode you need to add
[source,shell]
----
quarkus.native.additional-build-args = -H:+InlineBeforeAnalysis
----
to your `application.properties`. This is to allow inlining of some static methods that would otherwise cause build failures (see this https://github.com/oracle/graal/issues/2594[GraalVM issue]).

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
You can use this extension without any special configuration in JVM mode.

In native mode you need to add
[source,shell]
----
quarkus.native.additional-build-args = -H:+InlineBeforeAnalysis
----
to your `application.properties`. This is to allow inlining of some static methods that would otherwise cause build failures (see this https://github.com/oracle/graal/issues/2594[GraalVM issue]).
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 a461b1e

Please sign in to comment.