[jboss-user] [JBoss Messaging] - Durable Topic handing back an SpyTopic?

jasonc411 do-not-reply at jboss.com
Thu Nov 9 16:59:47 EST 2006


I am getting an error that there is a class cast exception to SpyTopic when querying for a JNDI Topic.  This is using jboss as 4.0.5 w ejb3, and spring 2.0.  This behavior just started after I had the first consumer of the durable topic subscribe?

This output is from the producer:
java.lang.ClassCastException: org.jboss.mq.SpyTopic
        at org.springframework.jms.core.JmsTemplate102.doCreateProducer(JmsTemplate102.java:195)
        at org.springframework.jms.core.JmsTemplate.createProducer(JmsTemplate.java:844)
        at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:507)
        at org.springframework.jms.core.JmsTemplate$2.doInJms(JmsTemplate.java:479)
        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:430)
        at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:477)
        at com.ca.data.jms.JMSTextMessageSender.simpleSend(JMSTextMessageSender.java:52)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984667#3984667

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984667



More information about the jboss-user mailing list