File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
SocketChannel and OutputStream
NIO select keeps returning a key
[EJB3]MessageDriven bean never catch message
nio and file transfers
How to temporarily unregister a SelectionKey to go blocking mode ?