• Post Reply Bookmark Topic Watch Topic
  • New Topic

get data from queue in sequence

 
Grzegorz Novvak
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello :]

Is there a way to get data from a queue using Message-Driven Beans in the order the data was put into the queue?

For example:

put into queue 1
put into queue 2
put into queue 3

get from queue 1
get from queue 2
get from queue 3

I'm using JBoss.
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no guarantee especially if

1. MDBs are in a pool.
2. You use transacted sessions.
3. You use persistent store for messages.

ram.
 
Grzegorz Novvak
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I know that there is no guarantee

That is why I asked if there is a way to guarantee that, or is it just the way it is?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!