[
https://issues.apache.org/jira/browse/CAMEL-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317912#comment-14317912
]
abdelgadiri commented on CAMEL-7269:
------------------------------------
update:
my problems seems to be solved when I specify following uri parameters:
"consumer.transacted=true&joinTransaction=true"
I am fetching only **one** db record at a time, so 'consumer.transacted' is not
really changing the semantics of my original logic as I still commit after
every 1 message as opposed to after a batch of messages. I am not sure though
why joinTransaction=true worked this time even though my data source is still
RESOURCE_LOCAL
> camel-jpa - joinTransaction called for RESOURCE_LOCAL datasource
> ----------------------------------------------------------------
>
> Key: CAMEL-7269
> URL: https://issues.apache.org/jira/browse/CAMEL-7269
> Project: Camel
> Issue Type: Bug
> Components: camel-jpa
> Affects Versions: 2.12.0
> Environment: tomcat+eclipselink+camel 2.12.2
> Reporter: Hristo Sabev
> Assignee: Grzegorz Grzybek
> Fix For: Future
>
>
> At line 82, JpaConsumer calls entityManager.joinTransaction(). This call
> cannot really work in environmnent without JTA. This is a change since 2.11.x
> and earlier versions where non JTA environments were supported
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)