0 Replies Latest reply on Apr 9, 2010 7:37 PM by Mark Lichtenberg

    Selective delivery of messages

    Mark Lichtenberg Newbie

      Hi,

      Is it possible to selectively deliver messages to MDB listeners in a certain order? Specifically, our performance needs require us to process temporal data in parallel (via MDBs) but - simultaneously processing data of the same time ranges and types lead to deadlocks. So we need some mechanism to ensure no objects of the same timerange and type are processed at the same time. Currently we are limiting our PoolClass to a maxSize=1 as a temporary workaround but scalability is limited.

       

      We had an idea of implementing our own pool class that delivers messages to our specifications, but I'm unsure if this is feasible, dumb, or if there's a better way to handle this. We're using JBoss AS 4.2.3.

       

       

      Thanks,

      Mark