Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 8, 2012
  1. @abuijze

    Axon now detects imminent deadlocks in the IdentifierBasedLock

    abuijze authored
    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
Commits on Jul 15, 2012
  1. @abuijze

    SpringPrototypeEventSourcingRepository autowires aggregate snapshots

    abuijze authored
    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
    suffice.
Commits on Jun 22, 2012
  1. @abuijze
  2. @abuijze
Commits on Jun 20, 2012
  1. @abuijze

    Added module for Quartz 1 support

    abuijze authored
    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
Commits on Jun 18, 2012
  1. @abuijze
Commits on Jun 13, 2012
  1. @abuijze

    Used explicit JPA Query to update sagas in JpaSagaRepository

    abuijze authored
    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.
Commits on Jun 11, 2012
  1. @abuijze

    Simplified the AuditingInterceptor

    abuijze authored
    It no longer needs to scan all aggregates for events. All events to be
    published are provided in the onPrepareCommit method.
  2. @abuijze

    Removed @Transactional from tests where not needed

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

    Minor Javadoc modification

    abuijze authored
  2. @abuijze

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

    abuijze authored
    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: https://github.com/AxonFramework/AxonFramework/issues/52
  3. @abuijze

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

    abuijze authored
    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)
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 25, 2012
  1. @abuijze

    Removed reference to AbstractJpaAggregateRoot

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

    Improved saga deletion in JpaSagaRepository

    abuijze authored
    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.
  2. @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.
    (cherry picked from commit 27413b1)
  3. @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.
    (cherry picked from commit d946dea)
Commits on Apr 18, 2012
  1. @abuijze

    Added support for Quartz 2

    abuijze authored
    This deprecates support for the Quartz 1 API, since a number of classes has
    changed in an backwards incompatible manner.
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 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
    (cherry picked from commit db6dcc9)
Commits on Feb 27, 2012
  1. @jettro
Commits on Feb 24, 2012
  1. @jettro

    improved the dirtiescontext

    jettro authored
  2. @jettro

    After the merge the test problems were fixed.

    jettro authored
    Merge branch 'axon-1.x' of github.com:AxonFramework/AxonFramework into axon-1.x
    
    Conflicts:
    	incubator/mongo/src/test/java/org/axonframework/saga/repository/mongo/MongoSagaRepositoryTest.java
    	incubator/mongo/src/test/resources/META-INF/spring/mongo-context.xml
  3. @jettro

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

    jettro authored
    …t test for saga repository
  4. @jettro
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 19, 2012
  1. @abuijze

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

    abuijze authored
    …o Mongo instance is running
  2. @abuijze
Something went wrong with that request. Please try again.