Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Messaging solution for parallel processing  RSS feed

 
Kedar Dixit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Anyone? Any help would be really appreciated!
Thanks,
Kedar
 
Jesus Angeles
Ranch Hand
Posts: 2069
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!