Questions tagged [camel-jpa]
9 questions
2
votes
0 answers
Unable to retrieve multiple entities using camel and openjpa
I am using spark-rest component and want to use a JPA endpoint to fetch multiple entities from an oracle DB using Camel-jpa and openJpa. I've read chapter 6.5 from Camel in Action 2 but only managed to get one single entity at a time, by its Id.…

Laszlo Sarvold
- 733
- 7
- 15
2
votes
1 answer
Apache Camel JPA Thread Hung
I have created one route using Java DSL which has JPA component to poll the records from DB periodically. it is working good. I hope each route has one worker thread. if DB is down or any N/W issue for minute, route is not working as expected.…

Gnana
- 2,130
- 5
- 26
- 57
1
vote
1 answer
Spring Boot Camel JPA No local transaction to join
I am using
Spring Boot 1.5.10.RELEASE
Camel 2.21.1
Java 1.8
My application
@SpringBootApplication
@ImportResource({"classpath:my-webservice.xml", "classpath:my-camel.xml"})
public class CamelCXFApplication extends SpringBootServletInitializer {
…

abiieez
- 3,139
- 14
- 57
- 110
1
vote
0 answers
Camel JPA component route is not executing fully
I have created a simple route using JPA component
`fromF("jpa:%s?consumer.namedQuery=step1&delay=5s&consumeDelete=false&consumeLockEntity=false", Event.class.getName())
.log("Query Fired")
.process(exchange ->…

Rohit Patil
- 51
- 7
1
vote
0 answers
Camel - fetching queue entry from Oracle DB via JPA component and updating said entry on exception
We want to use a table as virtual queue on our Oracle DB. The queue should be processed with Apache Camel using the JPA component. Each entry contains the name of a JMS queue to which a payload has to be forwarded.
Processing the queue item and…

Alex
- 23
- 5
1
vote
1 answer
camel-jpa query - select with parameters
I'm trying to use the jpa component to select by id that i get from the header.
I found an example in documentation that uses the native select query:
from("direct:query").to("jpa://org.apache.camel.examples.MultiSteps?query=
select o from…

Pashok
- 167
- 1
- 8
0
votes
0 answers
camel spring xml jpa transaction route not starting in standalone mode
I tried to apply jpa transaction manager with spring transaction policy to one route. As a result, it is starting and thrown below issue. could you please let me know the cause of the issue and solution.Could you please share any quick-starts of…

John Gabriel
- 1
- 2
0
votes
1 answer
Camel JPA Transaction + EntityManager
In my actual application, i have a business layer that uses JPA to persist data according to some business rules, the problem is that the camel-jpa transaction is not shared with the business layer transaction. I need my EntityManager in business…

Renato Barros
- 177
- 3
- 14
0
votes
2 answers
camel-jpa "no transaction is in progress"
i am trying to write an entity to database with camel jpa component. The problem is that i get
javax.persistence.TransactionRequiredException: no transaction is in progress
at…

dermoritz
- 12,519
- 25
- 97
- 185