• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Redelivery in ActiveMQ

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!

I'm using ActiveMQ queues with Spring and it all works well, but I've been testing what happens when a message can't be delivered. For example, forcing the receiver's class onMessage method to throw an Exception.

When I look the admin web console, I see the message that's been sent and not received, but it never seems to redeliver it again. How can I configure the frequency in redelivery in activeMQ? And, how can I force that lost message to be sent once again? I tried to do it but as it's MapMessage (instead of a TextMessage) there's no way to do it by the admin web console.

Thank you very much.

Antonio
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic