[
https://issues.jboss.org/browse/ISPN-2090?page=com.atlassian.jira.plugin....
]
Manik Surtani commented on ISPN-2090:
-------------------------------------
I presume this only happens when you use {{@Listener (sync = true)}} and the callback is
on the same thread as the transaction. I suppose the right answer here is to suspend the
transaction before invoking the listener?
Cache get from TransactionCompleted throws IllegalStateException
----------------------------------------------------------------
Key: ISPN-2090
URL:
https://issues.jboss.org/browse/ISPN-2090
Project: Infinispan
Issue Type: Bug
Components: Listeners, Transactions
Reporter: Galder Zamarreño
Assignee: Mircea Markus
When implementing @TransactionCompleted in a sync listener, calling cache.get() even when
event.isPre=false throws:
{code}IllegalStateException - ActionStatus.COMMITTED is not in a valid state to be
invoking cache operations on{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira