Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Configure JMS queue on JBOSS EAP 6.4

    Posted on

    Hi All,
    I am trying to configure JMS queue with JBOSS EAP 6.4 using spring jms API's. Below are the configuration details -
    1] Jboss version : 6.4 EAP
    2]Spring version : 4.1.5.RELEASE including jms
    3]Below is the configuration details of application-context.xml

    
    
    
    
    
        
            classpath:/portlet.properties
        
    
    
    
    
        
        
    
    
        
        
    
    
        
        
        
    
    
        
        
    
    
    
    
        
        
        
    
    

    In addition i am using pretty much template api and code nothing fancy. It worked successfully on my local when i tried to run using standalone java program but when i deployed on DEV environment i am getting below error.

    Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.hornetq.jms.client.HornetQJMSConnectionFactory' to required type 'javax.jms.ConnectionFactory' for property 'connectionFactory'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.hornetq.jms.client.HornetQJMSConnectionFactory] to required type [javax.jms.ConnectionFactory] for property 'connectionFactory': no matching editors or conversion strategy found
    at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:476)
    at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)
    at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:506)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1515)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1474)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
    ... 269 common frames

    I am really not sure from where its picking the class org.hornetq.jms.client.HornetQJMSConnectionFactory as i havent provided any reference of it in aplication-context.xml. In addition i am passing all dependencies like springJms, jbossClient in provided mode so that they will be provided by container.

    Any help will be highly appreciated.

    by

    points

    Responses

    Red Hat

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.