]
Nistor Adrian updated ISPN-12331:
---------------------------------
Sprint: DataGrid Sprint #50
ContinuousQuery instance should be the same if
Search.continuousQuery() is used
-------------------------------------------------------------------------------
Key: ISPN-12331
URL:
https://issues.redhat.com/browse/ISPN-12331
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying, Remote Querying
Affects Versions: 8.1.0.Final
Reporter: Wolf-Dieter Fink
Assignee: Nistor Adrian
Priority: Major
Labels: query
The static method Search.continuousQuery(<CacheName>) will always return a NEW
ContinuousQuery instance, to handle such it should return alway the same instance as this
would enhance the handling
From a user perspective it is unexpected as it is possible to use
Search.continuousQuery().register... and this is working but .unregister* will not find
any of the registered Listeners because of the different instance.