You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Diesler (Jira)" <ji...@apache.org> on 2019/11/15 13:34:00 UTC

[jira] [Comment Edited] (CAMEL-14149) Upgrade Infinispan version to 10.0.1.Final

    [ https://issues.apache.org/jira/browse/CAMEL-14149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975095#comment-16975095 ] 

Thomas Diesler edited comment on CAMEL-14149 at 11/15/19 1:33 PM:
------------------------------------------------------------------

Infinispan is one of the components covered by the [Wildfly/EAP compatibility contract|https://github.com/wildfly-extras/wildfly-camel/blob/master/feature/common/etc/smartics/wildfly-modules.xml#L30]. Which means that neither Wildfly nor Camel should change that component without considering compatibility constraints.

In this case, we haveĀ [infinispan-9.4.16|https://github.com/wildfly/wildfly/blob/d69bb0d32cc506f6729e2c705d968a263e884f94/pom.xml#L338] that comes with WildFly-18.0.0 and [infinispan-10.0.1|https://github.com/apache/camel/blob/master/parent/pom.xml#L284] that comes with the latest Camel-3.0.x master.

This currently fails with
{code:java}
Caused by: java.lang.NoSuchMethodError: org.infinispan.AdvancedCache.withFlags(Lorg/infinispan/context/Flag;)Lorg/infinispan/AdvancedCache;
 at org.apache.camel.component.infinispan.InfinispanUtil.ignoreReturnValuesCache(InfinispanUtil.java:95)
 at org.apache.camel.component.infinispan.InfinispanManager.getCache(InfinispanManager.java:200)
 at org.apache.camel.component.infinispan.InfinispanProducer.onPut(InfinispanProducer.java:50)

{code}


was (Author: tdiesler):
Infinispan is one of the components covered by the Wildfly/EAP compatibility contract. Which means that neither Wildfly nor Camel should change that component without considering compatibility constraints.

In this case, we haveĀ [infinispan-9.4.16|https://github.com/wildfly/wildfly/blob/d69bb0d32cc506f6729e2c705d968a263e884f94/pom.xml#L338] that comes with WildFly-18.0.0 and [infinispan-10.0.1|https://github.com/apache/camel/blob/master/parent/pom.xml#L284] that comes with the latest Camel-3.0.x master.

This currently fails with

{code}

Caused by: java.lang.NoSuchMethodError: org.infinispan.AdvancedCache.withFlags(Lorg/infinispan/context/Flag;)Lorg/infinispan/AdvancedCache;
 at org.apache.camel.component.infinispan.InfinispanUtil.ignoreReturnValuesCache(InfinispanUtil.java:95)
 at org.apache.camel.component.infinispan.InfinispanManager.getCache(InfinispanManager.java:200)
 at org.apache.camel.component.infinispan.InfinispanProducer.onPut(InfinispanProducer.java:50)

{code}

> Upgrade Infinispan version to 10.0.1.Final
> ------------------------------------------
>
>                 Key: CAMEL-14149
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14149
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-infinispan
>    Affects Versions: 3.0.0.RC3
>            Reporter: John Poth
>            Priority: Major
>             Fix For: 3.0.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)