Closed javafanboy closed 4 months ago
Hello,
getService() takes a service name, not scheme name. The service name from the config snippet is "InvocationService"
Hi,
You specify the service name in the call to CacheFactory.getService();
Thanks both of you - that solved it - now my invocation works like a charm!
I would like to experiment with running an invocable on a cluster and added the following to the caching-schemes section of my custom cache configuration file:
but when I try running the code below I get the error message "No scheme found for service my-invocation-service"...
I can see from log output that Coherence is reading my cache configuration file but perhaps there is something more I need to configure in order for invocation to work or I have missread the doc on how to get hold of the service?!
Any suggestions on what I may be doing wrong is much appreciated as I right now cant see it....