You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henryk Konsek (JIRA)" <ji...@apache.org> on 2014/01/23 22:27:41 UTC

[jira] [Resolved] (CAMEL-7126) BAM component is not working with Spring 4

     [ https://issues.apache.org/jira/browse/CAMEL-7126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henryk Konsek resolved CAMEL-7126.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   2.13.0

I created {{EntityManagerTemplate}} and used it instead of {{JpaTemplate}}. Fixed in the following commits:

commit 47950ebd8d996b10bca016e8415814c792ad9f4a
commit bc983bdd47ded164954c67321940157f4733a509
commit 72e8240e286d47c8cee82ecec9efa30dce5d7d23
commit 2798d9301e5708964b41adf265d4ca9906be70e8
commit aeecd80ec9faf3abd85dfb9cb0693057978a0483
commit 456a9f50c3c586e7ba882784b2a0af003fd3e030
commit dd5a5043545c0218fea1f65c0204174e38c8104b
commit da80476dda0a1862dedff29a7b8c6c6babf4b010
commit fdcaa9d18bd95d1cd24fd04b5ddd8a03628fb655
commit 039463cd744e0b6077aeebb8be0defd0e3dc9519


> BAM component is not working with Spring 4
> ------------------------------------------
>
>                 Key: CAMEL-7126
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7126
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-bam
>            Reporter: Henryk Konsek
>            Assignee: Henryk Konsek
>             Fix For: 2.13.0
>
>
> BAM component uses {{JpaTemplate}} class deprecated in Spring 3.1. As {{JpaTemplate}} has been removed in Spring 4, BAM component can't be compiled anymore.
> To reproduce the error execute the following command:
> {code}
> mvn clean install -Pspring4
> {code}
> We need to migrate BAM component to raw {{EntityManagerFactory}}/{{EntityManager}} API, as recommend by the Spring team.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)