I'm using Spring Jms from Spring2.5.6, My
JBoss server is 4.2.3. Here's the configure file
My
testing code failed on jmsTemplate.convertAndSend, the reason is can't open connection:
java.lang.AbstractMethodError: org.jboss.mq.SpyConnectionFactory.createConnection()Ljavax/jms/Connection;
at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:184)
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:461)
at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539)
at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:617)
....
The same JNDI context configuration worked when using
Java JMS codes. Therefore I know JBoss is running well.
Any suggestion? Thanks