Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A588EB95 for ; Fri, 1 Mar 2013 06:51:56 +0000 (UTC) Received: (qmail 44953 invoked by uid 500); 1 Mar 2013 06:51:55 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 44883 invoked by uid 500); 1 Mar 2013 06:51:55 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 445 invoked by uid 99); 28 Feb 2013 20:28:56 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of dbarker@genscape.com) Date: Thu, 28 Feb 2013 12:28:29 -0800 (PST) From: davebarker To: users@camel.apache.org Message-ID: <1362083309041-5728318.post@n5.nabble.com> Subject: example using HazelcastIdempotentRepository in Spring DSL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello all, I'm trying to figure out how to use the HazelcastIdempotentRepository as the idempotentConsumer for a duplicate filter in a Spring DSL route. example: ...
PrimaryValue
..... throws the following error: "No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.c amel.processor.idempotent.hazelcast.HazelcastIdempotentRepository.()" I tried supplying a string constructor to HazelcastIdempotentRepository as shown in the API, but I get the following error: "Could not convert constructor argument value of type [java.lang.String] to required type [com.hazelcast.core.HazelcastInstance]: Failed to convert value of type 'java.lang.String' to required type 'com.hazelcast.core.HazelcastInstance'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [com.hazelcast.core.HazelcastInstance]: no matching editors or conversion strategy found" What am I doing wrong? thanks for any help Dave -- View this message in context: http://camel.465427.n5.nabble.com/example-using-HazelcastIdempotentRepository-in-Spring-DSL-tp5728318.html Sent from the Camel - Users mailing list archive at Nabble.com.