Re: Messages not being received by consumer

2007-11-13 Thread CobraTheSleek
I beleive my problem has been solved. It was my bad. I was using a selector consumer = session.createConsumer(destination, selector, false); but when dispatching the message from the ejb, I did not specify a property on the message. Thus the consumer did not pick it up. CobraTheSleek wrote: >

Re: Messages not being received by consumer

2007-11-12 Thread CobraTheSleek
Hi James, thanks much for the response. In my sender code, if I do an explicit commit() on the session, I receive the following message as an XA transaction is in progress: 08:35:57,390 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 08:35:57,390 ERROR [STDERR] Caused by: javax.jms.Tr

Re: Messages not being received by consumer

2007-11-12 Thread James Strachan
It looks like you're creating a transactional session and never calling commit(). On 09/11/2007, CobraTheSleek <[EMAIL PROTECTED]> wrote: > > Hi, > > ENV: > ActiveMQ-Snapshot-5.0 > JBoss AS 4.2.1 > > I have the following queues defined: > > name="activemq.queue:name=org.apache.activemq.requestQu

Re: Messages not being received by consumer

2007-11-11 Thread CobraTheSleek
I beleive my problem is something related to the Spring support. When I used the JMSTestClient provided by the Panacya which uses jmsTemplate.receive() to retreive one message back from the queue, the message was successfully dequed. I could run that multiple times over to keep dequeing messages.