I'm not aware of any issues; I wonder if you could wrap up what you're
doing in a little JUnit test case we could tinker with?

Am wondering if its one of the JMS gotchas that we all fall for now
and again, like not starting the connection, or sending from a
transacted session and forgetting to commit() or whatnot. e.g. do you
see the message on the queue with the right header using the web
console/jconsole?

On 7/3/07, Jim Alateras <[EMAIL PROTECTED]> wrote:
I am experiencing some problems with message selectors and was wondering
  whether there is known issue in activemq and queue message selectors.

Prior to publishing a message on a queue i set the propA property

message.setIntProperty("propA ", zone.getZoneNumber());


On the consumer side i do

QueueSession session = connection.createQueueSession(true,
        session.AUTO_ACKNOWLEDGE);
String selector =  "propA = " + obj.getPropA();
QueueReceiver receiver = session.createReceiver(queue, selector);
msg = receiver.receiveNoWait();

I publish a message on the queue but the consumer does not receive it.


cheers
</jima>




--
James
-------
http://macstrac.blogspot.com/

Reply via email to