We're updating the issue view to help you get more done. 

Infinispan Remote: remove thread local serializzation context

Description

Serialization Context on thread local has been a very nice solution to handle marshalling of ProtostreamId and ProtostreamPayload.
These classes have the issue that for one of each could correspond more then one ProtocolBuffer message type.

In contrast new Infinispan transactions flush all the transaction changes just before transaction completion, so it seems that we can't use thread local anymore if we want support them.
See the issue https://hibernate.atlassian.net/browse/OGM-1494.

We've figured out an alternative solution:
*The main idea is to have a unique global serializzation context, containing all marshallers, and using the message Protocol Buffer type instead java Class to choose the right one.*

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Fabio Massimo Ercoli

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.4.0.Beta2

Priority

Major