You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hrvoje Mustapic (JIRA)" <ji...@apache.org> on 2013/09/16 23:13:51 UTC

[jira] [Created] (CAMEL-6759) camel-hazelcast component just allows Hazelcast maps and multimaps with key type String

Hrvoje Mustapic created CAMEL-6759:
--------------------------------------

             Summary: camel-hazelcast component just allows Hazelcast maps and multimaps with key type String
                 Key: CAMEL-6759
                 URL: https://issues.apache.org/jira/browse/CAMEL-6759
             Project: Camel
          Issue Type: Bug
          Components: camel-hazelcast
            Reporter: Hrvoje Mustapic


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>}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira