Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 50510200B4D for ; Fri, 17 Jun 2016 16:22:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F147160A63; Fri, 17 Jun 2016 14:22:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C8163160A64 for ; Fri, 17 Jun 2016 16:22:06 +0200 (CEST) Received: (qmail 82293 invoked by uid 500); 17 Jun 2016 14:22:05 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 82138 invoked by uid 99); 17 Jun 2016 14:22:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2016 14:22:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 63EB42C033A for ; Fri, 17 Jun 2016 14:22:05 +0000 (UTC) Date: Fri, 17 Jun 2016 14:22:05 +0000 (UTC) From: "Fabrizio Spataro (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-10068) Distribuited map, retrieve hashmap keys MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Jun 2016 14:22:07 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabrizio Spataro updated CAMEL-10068: ------------------------------------- Flags: Patch Patch Info: Patch Available > 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)