Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to configure JDBC idempotent consumers #908

Closed
jamesnetherton opened this issue Oct 19, 2015 · 0 comments
Closed

Unable to configure JDBC idempotent consumers #908

jamesnetherton opened this issue Oct 19, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@jamesnetherton
Copy link
Collaborator

If I try to do:

    <jee:jndi-lookup id="dataSource" jndi-name="java:jboss/datasources/ExampleDS" />

    <spring:bean id="messageIdRepository" class="org.apache.camel.processor.idempotent.jdbc.JdbcMessageIdRepository">
        <spring:constructor-arg ref="dataSource" />
    </spring:bean>

I get:

Caused by: java.lang.NoClassDefFoundError: org/springframework/transaction/PlatformTransactionManager
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
        at java.lang.Class.getDeclaredConstructors(Class.java:2020)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:149)
        ... 20 more
Caused by: java.lang.ClassNotFoundException: org.springframework.transaction.PlatformTransactionManager from [Module "org.apache.camel.component.sql:main" from local module loader @704d6e83 (finder: local module finder @43a0cee9 
@jamesnetherton jamesnetherton self-assigned this Oct 19, 2015
@jamesnetherton jamesnetherton added this to the 3.2.0 milestone Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant