1 Reply Latest reply on Sep 6, 2010 11:43 AM by M Arnold

    MDB : sequential messages by attribute.possible?

    Filipe C Newbie

      Hi !
      I have the following problem that i want to solve with MDB, but i don´t know who to do it.

       

      Image that i have 1 million clients orders that i want to process at some time.
      I want to generate on a mdb, messages to process later something.

       


      But i want to process several messages at same time, but for a client it has to sequencial.
      Example

       

      send message client 1 process data 1
      send message client 1 process data 2
      send message client 2 process data 1
      send message client 3 process data 1

       

      I want that the flow is the following:

       


      jboss
      process client 1, data 1              
      process client 2, data 1             
      process client 3, data 1             
        end process client 1, data 1              
      process client 1, data 2             
      end process client 2, data 1              
      end process client 3, data 1              
      end process client 1, data 2              

       

      How can i do it?

       

      best