-
1. Re: JMS / Message Driven Bean FIFO
joelvogt Dec 16, 2002 7:13 PM (in response to sheetszc)yep, put these in your jboss.xml and should be okay
-
2. Re: JMS / Message Driven Bean FIFO
schrouf Dec 20, 2002 4:53 AM (in response to sheetszc)But keep in mind that FIFO message delivery isn't guaranteed by JMS specification !
Message processing with a single threaded consumer MDB will certainly work in most cases when ALL messages will use the same message priority, but I am not sure what will happen in case of message redelivery situations ( e.g. after transaction or network failures ) ?!? -
3. Re: JMS / Message Driven Bean FIFO
schrouf Dec 20, 2002 4:57 AM (in response to sheetszc)But keep in mind that FIFO message delivery isn't guaranteed by JMS specification !
Message processing with a single threaded consumer MDB will certainly work in most cases when ALL messages will use the same message priority, but I am not sure what will happen in case of message redelivery situations ( e.g. after transaction or network failures ) ?!?
If you really have to ensure 100% FIFO processing some higher level application logic ( e.g. sequence numbers ) is required, even if it's always cumbersome :-( -
4. Re: JMS / Message Driven Bean FIFO
schrouf Dec 20, 2002 5:03 AM (in response to sheetszc)But keep in mind that FIFO message delivery isn't guaranteed by JMS specification !
Message processing with a single threaded consumer MDB will certainly work in most cases when ALL messages will use the same message priority, but I am not sure what will happen in case of message redelivery situations ( e.g. after transaction or network failures ) ?!?
If you really have to ensure 100% FIFO processing some higher level application logic ( e.g. sequence numbers ) is required, even if it's always cumbersome :-( -
5. Re: JMS / Message Driven Bean FIFO
eguib Dec 20, 2002 5:33 AM (in response to sheetszc)you should pay attention, that the spec does not define
the order of delivery for JMS messages.
This means that even if your settings will work with
JBoss this may not be true for other app servers.
Erwin