Set value of BSONNode from _value property
Merge pull request #90 from andyduncan192/master

Set value of BSONNode from _value property
Added generics to SimpleSerializedDomainEventData
FIxed issue where command callback was not invoked on retries

The situation occurred when a command was retried, and then failed on a
DispatchInterceptor (which fails in the calling thread). Now, the retry
scheduler will detect these errors and invoke the callback.

Issue #AXON-145 Fixed
Added laxy initialization of Repository in test fixtures

The eager initialization would prevent Aggregates not suitable for the default
AggregateFactory implementation from being tested, as the fixture would fail,
before allowing one to configure another factory.
The Repository is now lazily initialized, giving developers the opportunity to
configure another repostory or aggregate factory of the test.

Issue #AXON-147 Fixed
Relaxed scope of EventProcessor.ShutdownCallback

The default scope of this interface prevented the ability to override behavior
of the EventProcessor class.

Issue #AXON-139 Fixed
Added ability to register additional custom command handlers

The fixture will register command handlers in the aggregate, just before any
custom handlers are configured. This allows developers to override handlers,
as well as add additional handlers.

Issue #AXON-144 Fixed
Fixed issue in previous commit
Added test to attempt to reproduce AXON-141
Ignoring events of unknown types when replaying the event store

When replaying events from the JpaEventStore or MongoEventStore, events of
unknown types (i.e. those for which the Serializer fails to find a suitable
class) are ignored.

Issue #AXON-134 Fixed
Relaxed scope of the default correlation key in AuditDataProvider

Issue #AXON-142 Fixed
Removed a dependency on IOUtils where it wasn't really needed.
Added version check in CachingEventSourcingRepository

The CachingEventSourcingRepository checks whether the requested aggregate
version matches the actual version of the aggregate in the cache. If it doesn't
match, the aggregate is loaded from the event store, to keep track of
potentially unseen events.
Future versions will optimize this, and only load unseen events from the event
store.

Issue #AXON-149 Fixed
Issue #AXON-149 Fixed in 2.0.3
Simplified unique constraint declaration on JPA EventEntry
Improved test to make it independent of execution order
Added support for deadlock between IdentifierBasedLock instances

Even when using multiple instances of an IdentifierBasedLock, they will detect
when a deadlock is about to occur. The deadlock detection will only be executed
if the lock fails to be acquired immediately, making it run faster in
uncontended scenarios.

Issue #AXON-151 Fixed in 2.0.3,2.1
Issue #AXON-151 Fixed
PK should be public
Merge pull request #92 from salvesdevelopment/master

PK CTOR should be public
Removed duplicate code around upcasting
Updated documentation

Documentation includes performance tuning guidelines for MongoDB as well as a
warning about the extensive use of i-nodes by the FileSystemEventStore.

Issue #AXON-138 Fixed
Issue #AXON-131 Fixed