• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Messaging solution for parallel processing

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am looking for a solution to implement a messaging solution for asynchronous processing of rules.

I initially thought of using JMS, but a Proof Of Concept revealed that only sequential processing is possible with single session listener. The requirement is to have parallel processing.
Is there a way to configure this in JMS?

As a solution to this I also thought of using Message Driven Beans (MDBs). However, there are issues of duplicate messages getting processed at the same time leading to locking/concurrency issues. We need to keep a track of what is getting currently processed so that we can schedule the processing of duplicate message.

Could someone please suggest best solutions for the above scenario? Some good pointers/sample code will help me immensely. Please respond at your earliest convenience.

Thanks,
[ February 29, 2008: Message edited by: Bear Bibeault ]
 
Kedar Dixit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone? Any help would be really appreciated!
Thanks,
Kedar
 
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Kedar Dixit:


As a solution to this I also thought of using Message Driven Beans (MDBs). However, there are issues of duplicate messages getting processed at the same time leading to locking/concurrency issues. We need to keep a track of what is getting currently processed so that we can schedule the processing of duplicate message.



What do you mean by 'duplicate messages'? There is a possibility that you will send duplicate messages? Or you are worried that 2 MDBs will process a single message?
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic