Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 29, 2012
  1. @abuijze

    Created asynchronous implementation of SimpleCommandBus

    abuijze authored
    It extends the SimpleCommandBus, but dispatches commands asynchronously from
    the calling thread.
Commits on May 4, 2012
  1. @abuijze

    Added explicit UoW to the EventTriggerCallback

    abuijze authored
    This improves the lock release timing when using transactions. It ensures that locks are only released when all of the underlying transactions are committed.
  2. @abuijze

    Added explicit UoW to the TransactionManager

    abuijze authored
    This improves the lock release timing when using transactions. It ensures that locks are only released when all of the underlying transactions are committed.
Commits on Apr 13, 2012
  1. @abuijze
  2. @abuijze
Commits on Apr 12, 2012
  1. @abuijze

    Solved NPE issue when association property returns null value

    abuijze authored
    The solution is that events who's associated property returns null are not forwarded to
    any Saga instance. It is not possible to associate saga's with a null value.
Commits on Apr 11, 2012
  1. @abuijze

    Added Unit test to investigate possible issue with ORM repository

    abuijze authored
    The test shows that the GenericJpaRepository publishes events even if the aggregate
    doesn't have any state changes to store.
Commits on Apr 10, 2012
  1. @abuijze
  2. @abuijze

    Fixed NPE when loading inexistent aggregate in GenericJpaRepository

    abuijze authored
    As described in issue #37. The GenericJpaRepository now checks for null values
    and aggregate with another version number than expected.
Commits on Mar 6, 2012
  1. @abuijze

    Fixed deadlock possibility in SagaManager

    abuijze authored
    This deadlock could appear when a Saga dispatches a command which in turn publishes an event that invokes the same saga. The code in the Saga is executed using a lock on the saga. If the command cannot be executed directly in the UoW, the lock on the saga is released. If another thread is doing a similar operation, it may hang on the aggregate's lock, while keeping the lock on the saga. This issue is resolved by making sure a lock is held while the thread participates in an active UoW.
  2. @abuijze

    Fixed potential GC race condition issue in Saga

    abuijze authored
    The SagaCache holds a weak reference to saga entries. However, a transaction holding a SagaEntry will not prevent the cached sage from being cleaned up. When cleaned up, it may be reconstructed without seeing the uncommitted changes held by the EntityManager. SagaEntry now holds a (hard) reference to the Saga being stored, to prevent cleanup while the transaction is running.
  3. @abuijze
  4. @abuijze

    SimpleEventScheduler now guarantees removal of token when executed

    abuijze authored
    When an Event is published, the token is now guaranteed to be removed, even if publication results in an error.
Commits on Feb 28, 2012
  1. @abuijze

    Fixed confusing javadoc

    abuijze authored
Commits on Feb 23, 2012
  1. @abuijze

    Added check for failure to throw exception in test

    abuijze authored
    Yeah, I know, it's a classical mistake. Sorry.
  2. @abuijze

    Fixed bug in illegal state change detection

    abuijze authored
    This bug caused the fixture not to do a deep property check in the aggregate, possibly
    resulting in false negatives (reporting no error while there actually is one).
Commits on Feb 18, 2012
  1. @abuijze
  2. @abuijze
Commits on Feb 17, 2012
  1. @abuijze

    Fixed issue #32 - NullpointerException in high load on PessimisticLock

    abuijze authored
    Probably due a race condition with the garbage collector, a value could be null, where not expected. Added loop until not null logic to prevent null values.
    (cherry picked from commit 1353b79)
Commits on Feb 13, 2012
  1. @abuijze
  2. @abuijze
  3. @abuijze
  4. @abuijze

    Fixed some issues in state change detection.

    abuijze authored
    The state change detection caused some problems in the following cases:
    - an aggregate was deleted
    - an aggregate contains entities, causing an inifinite recursion
    - the loaded aggregate was of another type as the stored aggregate
    
    This commit solves those issues.
  5. @abuijze

    Prepared for 1.3.x maintenance

    abuijze authored
Commits on Feb 10, 2012
  1. @abuijze
  2. @abuijze
  3. @abuijze

    Corrected version number

    abuijze authored
  4. @abuijze

    Rolled back 1.3 release

    abuijze authored
  5. @abuijze
  6. @abuijze
  7. @abuijze
  8. @abuijze
  9. @abuijze
  10. @abuijze
  11. @abuijze

    Updated reference guide

    abuijze authored
Something went wrong with that request. Please try again.