Skip to content
Commits on Aug 8, 2012
  1. @abuijze

    Axon now detects imminent deadlocks in the IdentifierBasedLock

    Before attempting to acquire a lock, the thread checks whether the lock is
    already owned by a thread waiting for a lock owned by the current thread. If
    that is the case, the lock is not acquired and a DeadlockException is thrown.
    This will release the other locks, giving the other thread the opportunity to
    acquire the lock it was waiting for and continue processing. The failed
    operation can usually be retried automatically.
    Issue #AXON-13 add Fix versions 1.5
    abuijze committed Aug 8, 2012
Commits on Jul 15, 2012
  1. @abuijze

    SpringPrototypeEventSourcingRepository autowires aggregate snapshots

    Fixes issue #60. Due to the fact that the responsibility of extracting
    snapshots lies in the repository, the use of the
    SpringPrototypeEventSourcingRepository is mandatory. The standard
    EventSourcingRepository with a SpringPrototypeAggregateFactory will not
    abuijze committed Jul 15, 2012
Commits on Jun 22, 2012
  1. @abuijze
  2. @abuijze
Commits on Jun 20, 2012
  1. @abuijze

    Added module for Quartz 1 support

    Version 1.3 and prior relied on Quartz 1.x. From Axon 1.4 onwards, Quartz 2 is
    the default. The new axon-quartz1 module allows backwards compatibility
    with Quartz 1.x
    abuijze committed Jun 20, 2012
Commits on Jun 18, 2012
  1. @abuijze
Commits on Jun 13, 2012
  1. @abuijze

    Used explicit JPA Query to update sagas in JpaSagaRepository

    It seems that, under high load, Hibernate sometimes tries to insert an Entity,
    instead of updating it. By making an explicit query, we can prevent this.
    abuijze committed Jun 13, 2012
Commits on Jun 11, 2012
  1. @abuijze

    Simplified the AuditingInterceptor

    It no longer needs to scan all aggregates for events. All events to be
    published are provided in the onPrepareCommit method.
    abuijze committed Jun 11, 2012
  2. @abuijze

    Removed @Transactional from tests where not needed

    The tests would sometimes block during the transaction rollback, which isn't
    needed, since the test is ran against an in-memory database.
    abuijze committed Jun 11, 2012
Commits on Jun 10, 2012
  1. @abuijze

    Minor Javadoc modification

    abuijze committed Jun 10, 2012
  2. @abuijze

    Fixes issue #52. onPrepareCommit doesn't get all events to be published

    The UnitOfWorkListener.onPrepareCommit method was not given the entire list of
    events to be published. Instead, only the events that had been directly
    registered for publication through UnitOfWork.publishEvent we in the list. The
    fix ensures that all events that will be published on any EventBus on UoW
    commit are contained in the eventsToPublish list.
    See also:
    abuijze committed Jun 10, 2012
  3. @abuijze

    Fixed issue #51: Detecting annotated handlers in Java Proxies.

    The BeanPostProcessor will detect Java Proxies and inspect the actual bean
    instead. Where possible, the proxy is invoked. In other cases, method
    invocations are redirected to the target of the Proxy.
    This includes some updates of library versions.
    (cherry picked from commit b7066bb)
    abuijze committed Jun 10, 2012
Commits on May 29, 2012
  1. @abuijze

    Created asynchronous implementation of SimpleCommandBus

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

    Removed reference to AbstractJpaAggregateRoot

    That class doesn't exist anymore, since AbstractAggregateRoot is already JPA compatible.
    abuijze committed May 25, 2012
Commits on May 4, 2012
  1. @abuijze

    Improved saga deletion in JpaSagaRepository

    Deleting is now done using a query, instead of an EntityManager.flush. This is safer in case a Saga was already deleted by another process, even though that's rare.
    abuijze committed May 4, 2012
  2. @abuijze

    Added explicit UoW to the EventTriggerCallback

    This improves the lock release timing when using transactions. It ensures that locks are only released when all of the underlying transactions are committed.
    (cherry picked from commit 27413b1)
    abuijze committed May 4, 2012
  3. @abuijze

    Added explicit UoW to the TransactionManager

    This improves the lock release timing when using transactions. It ensures that locks are only released when all of the underlying transactions are committed.
    (cherry picked from commit d946dea)
    abuijze committed May 4, 2012
Commits on Apr 18, 2012
  1. @abuijze

    Added support for Quartz 2

    This deprecates support for the Quartz 1 API, since a number of classes has
    changed in an backwards incompatible manner.
    abuijze committed Apr 18, 2012
Commits on Apr 12, 2012
  1. @abuijze

    Solved NPE issue when association property returns null value

    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.
    abuijze committed Apr 12, 2012
Commits on Apr 10, 2012
  1. @abuijze
  2. @abuijze

    Fixed NPE when loading inexistent aggregate in GenericJpaRepository

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

    Fixed deadlock possibility in SagaManager

    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.
    abuijze committed Mar 6, 2012
  2. @abuijze

    Fixed potential GC race condition issue in Saga

    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.
    abuijze committed Mar 6, 2012
  3. @abuijze
  4. @abuijze

    SimpleEventScheduler now guarantees removal of token when executed

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

    Fixed confusing javadoc

    (cherry picked from commit db6dcc9)
    abuijze committed Feb 28, 2012
Commits on Feb 27, 2012
  1. @jettro
Commits on Feb 24, 2012
  1. @jettro

    improved the dirtiescontext

    jettro committed Feb 24, 2012
  2. @jettro

    After the merge the test problems were fixed.

    Merge branch 'axon-1.x' of into axon-1.x
    jettro committed Feb 24, 2012
  3. @jettro

    renamed the classes for MongoTemplate, beware having problem with uni…

    …t test for saga repository
    jettro committed Feb 24, 2012
  4. @jettro
Commits on Feb 23, 2012
  1. @abuijze

    Added check for failure to throw exception in test

    Yeah, I know, it's a classical mistake. Sorry.
    abuijze committed Feb 23, 2012
  2. @abuijze

    Fixed bug in illegal state change detection

    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).
    abuijze committed Feb 23, 2012
Commits on Feb 19, 2012
  1. @abuijze

    Removed autowiring on test to make sure it is ignored properly when n…

    …o Mongo instance is running
    abuijze committed Feb 19, 2012
  2. @abuijze
Something went wrong with that request. Please try again.