When the consumer tries to consume messages
consumer = session.createConsumer(dest)

 in JBoss I am getting this error

ava.lang.ClassCastException: org.apache.activemq.command.ActiveMQQueue
   at org.jboss.mq.SpyQueueReceiver.<init>(SpyQueueReceiver.java:42)
   at org.jboss.mq.SpySession.createReceiver(SpySession.java:689)
   at org.jboss.mq.SpySession.createConsumer(SpySession.java:649)
   at org.jboss.mq.SpySession.createConsumer(SpySession.java:635)
-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-problem-with-Jboss-tf2188954.html#a6056051
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to