UPDATE:

Wiring the application context instead of the bean helped solve the problem
in exchanging the cahce configuration (and it's cachestoreadapter).

Now I'm only stuck on this when I exclude the jars which the client should
not have knowledge of: 
Caused by: java.lang.ClassCastException: cannot assign instance of
java.lang.invoke.SerializedLambda to field
org.apache.ignite.configuration.CacheConfiguration.nodeFilter of type
org.apache.ignite.lang.IgnitePredicate in instance of
org.apache.ignite.configuration.CacheConfiguration

At first I used this property to set the node filter which resulted in an
unsuccesfull serialization attempt by Ignite on the static method :
private IgnitePredicate<ClusterNode> filter =
FlipperkastCluster.backbox().data().nodeFilter();

Thus I changed this to:
    private IgnitePredicate<ClusterNode> filter = ClusterNode ->
FlipperkastCluster.backbox().data().nodeFilter().apply(ClusterNode);
And now the client receives an SerializedLambda which can not be resolved.

So how should I do this....



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to