Just some follow up on this... I think its even possible to use something which will work with every JMS implementation which is conform with the api (when I understood it right).
You should be able to use a JMS selector to just consume the message you are interested in. See: http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html http://camel.apache.org/jms.html http://activemq.apache.org/selectors.html I will try to implement it this way this weekend and tell you later if it worked.. Bye, Norman 2010/3/4 Norman Maurer <[email protected]>: > Thx Claus, > > now I just need to wait for activemq 5.4 to get released > > Bye > Norman > > 2010/3/4, John Landahl <[email protected]>: >> On Thu, Mar 4, 2010 at 11:46 AM, Claus Ibsen <[email protected]> wrote: >>> For example it appears as you can ask the producers to schedule delivery >>> http://activemq.apache.org/delay-and-schedule-message-delivery.html >> >> Claus, you may have answered the question on polling consumers that I >> just posted a minute ago. Those ActiveMQ messages properties may be >> exactly what I need. >> >> - John >> >
