This content has been marked as final. Show 2 replies
Selectors aren't really designed for doing database queries. Your best bet would be to not use JMS, but EJB or something.
I wanted to say, JMS isn't for random access. It does have one useful feature you need, which is clean-up (expiration.)