camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davebarker <>
Subject example using HazelcastIdempotentRepository in Spring DSL
Date Thu, 28 Feb 2013 20:28:29 GMT
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.

   <idempotentConsumer messageidRepositoryRef="idempotentRepo">

<bean id="idempotentRepo"

throws the following error:

"No default constructor found; nested exception is
java.lang.NoSuchMethodException: org.apache.c

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

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message