Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
-
Novice
Description
Check the user forum post here:
http://camel.465427.n5.nabble.com/camel-hazelcast-CamelEntryListener-limits-usage-of-Hazelcast-maps-td5739340.html
The component camel-hazelcast works just with Hazelcast maps and multimaps which have the key type String.
Cause: The class org.apache.camel.component.hazelcast.listener.CamelEntryListener within the module camel-hazelcast implements com.hazelcast.core.EntryListener<String,Object>. This Listener can just be registered to com.hazelcast.core.IMap<K,V> with key type String.
Fix: change CamelEntryListener to extend EntryListener<Object,Object>