I am using cache listeners to get the following events
I put these events in map and read those when i get @TransactionCompleted event.
BUt i have observed that when my cache is just a read only resource in the transction , i still get @TransactionCompleted event. IS this expected behavior ?
Yeah, @TransactionCompleted means that the transaction was committed or rollbacked. You might still want to do something even if the cache is read only.
Retrieving data ...