MDB to MDB Event Notification

Discussion in 'Java' started by John Schult, May 4, 2005.

  1. John  Schult

    John Schult Guest

    I have a scenario where multiple MessageDrivenBeans could be performing
    an operation whereby if a newer message enters the queue and a new MDB
    starts doing work, all the other MDBs should stop what they are doing.
    In essence only the latest message in the JMS queue is valid.

    For example, if MDB 1 is working on Job A and Job B is put into the
    queue, MDB 2 (maybe) will start working on Job B. Job A is no longer
    valid and MDB 1 should discontinue processing.

    Is there an easy way for MDB A to be notified to stop processing?
    John Schult, May 4, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vikas Yadav
    Replies:
    0
    Views:
    1,116
    Vikas Yadav
    Sep 9, 2003
  2. Dave
    Replies:
    1
    Views:
    531
    Anthony Williams
    Sep 10, 2003
  3. =?Utf-8?B?UGhpbA==?=

    Faster access to MDB? MS Access MDB and ASP

    =?Utf-8?B?UGhpbA==?=, Jan 26, 2005, in forum: ASP .Net
    Replies:
    8
    Views:
    458
    Kevin Spencer
    Jan 27, 2005
  4. Replies:
    3
    Views:
    422
    Michael
    Jul 1, 2006
  5. coder_1024
    Replies:
    1
    Views:
    110
    coder_1024
    Oct 27, 2003
Loading...

Share This Page