camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrizio Spataro (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10068) Distribuited map, retrieve hashmap keys
Date Fri, 17 Jun 2016 09:57:05 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335807#comment-15335807
] 

Fabrizio Spataro commented on CAMEL-10068:
------------------------------------------

Andrea lo so... conosco camel come le mie tasche :-)

traduci tu ? :-D

> Distribuited map, retrieve hashmap keys
> ---------------------------------------
>
>                 Key: CAMEL-10068
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10068
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-hazelcast
>            Reporter: Fabrizio Spataro
>            Assignee: Andrea Cosentino
>            Priority: Minor
>              Labels: hazelcast, map
>
> Hello, i propose you to introduce this new feature to hazelcast component
> Hazelcast Distributed Map Producer support more operations but "keySet()" is not implemented
yet!
> To resolve this improvement insert follow code into "HazelcastMapProducer.java" file
> 1. Add constant "GET_KEYS_OPERATION"
> 2. Into process method add 
> {code}
>    case HazelcastConstants.GET_KEYS_OPERATION:
>             this.getKeys(exchange);
>             break;
> {code}
> 3. add private method
> {code}
>      /**
>      * get keys set of objects and give it back
>      */
>     private void getKeys(Exchange exchange) {
>         exchange.getOut().setBody(this.cache.keySet());
>     }
> {code}
> King regards



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message