Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7431407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:17:30+00:00 2026-05-29T09:17:30+00:00

I am currently writing a distributed system using hazelcast. I have a few questions

  • 0

I am currently writing a distributed system using hazelcast. I have a few questions regarding Queues implemented using hazelcast.

  1. What is the best way to process data from the Queue? I currently have threads on each “node” reading off the blocking queue processing the data. Is this correct or is there some class I am not aware of that takes care of this like JMS or messageListener?
  2. I see there is a time-to-live-seconds setting which will remove the entry from the Queue once expired. My question is… is there any way to detect the removal of an expired item from the Queue? I know there are Listeners but this does not help as this is fired on all the “nodes” and not just one. I am looking for a way of executing code for each expired message (similar to a dead letter queue).

Any input or advice on this matter would be greatly appreciated.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:17:30+00:00Added an answer on May 29, 2026 at 9:17 am
    1. There is no other way at the moment. So you will have your threads on each node calling queue.take(). Hazelcast team is planning to add IQueue.addQueueConsumer(QueueConsumer) that will behave similar to JMS MessageListener

    2. You are right. Adding listeners is not good way of doing it as it is very expensive operation. You might want to create an issue for this at http://code.google.com/p/hazelcast/issues. It is surely nice to have feature.

    -talip @ hazelcast

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The application I'm currently writing is using MVVM with the ViewModel-first pattern. I have
Im currently writing my bachelor thesis with latex and using TexnicCenter. I want to
I'm currently writing a small script using pygame, but I don't believe this question
Im currently writing a database for a school project. Im using MySQL on xampp
I'm writing a Connect Four game engine. Currently I'm using Zobrist hashing to generate
I'm currently writing a small test Android app, and have run across a small
I'm currently writing an custom control which has to hold child control and have
I'm currently writing tests for an app using cucumber and rspec. I was asked
I'm currently writing a Linux kernel module, and have problems implementing its communication with
I'm currently writing a plugin and have run into and issue that, from searching

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.