5 Replies Latest reply on Jun 6, 2017 2:31 AM by Grzegorz Grzybek

    Camel-Hibernate Issue with Blueprint

    sarada ch Newbie

      Hi All,

      When using camel-hibernate component with Spring DSL it works fine but I want to use Blueprint with JBoss fuse 6.3 I get error

       

      org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: sessionFactory, getter: class org.apacheextras.camel.component.hibernate.HibernateComponent.getSessionFactory(), setter: [class org.apacheextras.camel.component.hibernate.HibernateComponent.setSessionFactory(interface org.hibernate.SessionFactory)]

          at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:939)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

          at java.lang.Thread.run(Thread.java:745)

      Caused by: java.lang.Exception: Unable to convert value org.springframework.orm.hibernate4.LocalSessionFactoryBean@46797063 to type org.hibernate.SessionFactory

          at org.apache.aries.blueprint.container.AggregateConverter.convert(AggregateConverter.java:184)

       

       

      for more please find at

      Camel-Blueprint Unable to convert value org.springframework.orm.hibernate4.LocalSessionFactoryBean to type org.hibernate…