camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenoƮt Liessens <benon...@gmail.com>
Subject Hazelcast queue consumers
Date Mon, 29 Sep 2014 09:39:09 GMT
Hi,

On our project we have been using Hazelcast for a couple of months now and
we are looking to increase usage of Hazelcast with distributed queues. I
was hoping to use Apache Camel to retrieve and process the messages in our
hazelcast cluster. (The camel route would be deployed together with the
hazelcast instance, and you would have as many camel route instances as
hazelcast cluster instances)

I had a closer look at the camel-hazelcast component. When diving into the
source code of the camel-hazelcast module I was very surprised to read the
sources of class HazelcastQueueConsumer: it is implemented as an
ItemListener.

For our clustered environment this would imply that each message would be
processed on each cluster member. Which defeats the point-to-point
messaging model. And even if the messages are processed, they remain on the
queue too.

So basically I wonder what the camel-hazelcast is meant to be used for? Can
anybody explain this implementation?

Also, is it possible to implement our scenario with camel-hazelcast?

Thanks for your help,
Benoit

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message