wood burning stoves*
The moose likes JBoss/WildFly and the fly likes can't create connection to JBoss MQ using Spring JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "can Watch "can New topic

can't create connection to JBoss MQ using Spring JMS

Will Lee
Ranch Hand

Joined: Mar 16, 2005
Posts: 58
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

It is sorta covered in the JavaRanch Style Guide.
subject: can't create connection to JBoss MQ using Spring JMS
Similar Threads
MDP consuming from remote JBossMQ Queue
Spring configuration for Testing JMS using Junit
How to connect to a remote MQ Queue using Spring MDPs and Weblogic
Problem with PropertyPlaceholderConfigurer
Spring JMS with IBM Websphere MQ5.3.1