I'm kind of confused about the syncpoint
from WebSphere MQ. According to the reference from the WMQ Infocenter, the syncpoint is defined as below:
The decision to commit or back out the changes is taken, in the simplest case, at the end of a task. However, it can be more useful for an application to synchronize data changes at other logical points within a task. These logical points are called sync points (or synchronization points) and the period of processing a set of updates between two sync points is called a unit of work.
Therefore, a unit of work
is named as processing between two sync points. From my understanding, that unit of work is a transaction actually. So I draw the picture here reflecting the relationship between them:
- Am I understanding it correctly?
- Another question here is as for the syncpoint, it's said to synchronize data for application, where is the data synced from and where to?
Thanks