This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Question Message Selector Order Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Question Message Selector Order" Watch "Question Message Selector Order" New topic

Question Message Selector Order

jerry king

Joined: Nov 05, 2008
Posts: 12
Dear all,

I have implemented a java client which will send 10 textmessage into the Oracle AQ (10g) with String property set to "cat='A'" with message id start from 1~10, when i try to read the message from the queue by a consumer program (messageListener) with message selector set to "cat='A'", the order of message consuming is not the same as the message sending order.

I have google about the message selector and no ordering issue mentioned, can any please give me suggestion on this ?

Thanks a lot.
I agree. Here's the link:
subject: Question Message Selector Order
Similar Threads
How to temporarily unregister a SelectionKey to go blocking mode ?
[EJB3]MessageDriven bean never catch message
SocketChannel and OutputStream
nio and file transfers
NIO select keeps returning a key