On to the next problem! I'm having trouble adding a selector to my JMS
consumer when using Camel. I want to selectively consume messages based on a
header field but the selection HAS to be done within the broker so that I
can limit the bandwidth required for consumers. I can't figure out how to do
this though.


ConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");
context.addComponent("test-jms",
JmsComponent.jmsComponentAutoAcknowledge(connectionFactory)); 
-- 
View this message in context: 
http://www.nabble.com/JMS-Selectors-in-Camel-tf4523347s22882.html#a12904323
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to