release of 1.0.6.RC, fixed #14 and #11

This commit is contained in:
benni 2012-12-25 17:22:07 +01:00
parent acd19169af
commit adc43a3745

View File

@ -77,7 +77,7 @@ Listener definition (in any bean):
@Listener(dispatch = Mode.Synchronous, rejectSubtypes = true)
@Enveloped(messages = {TestEvent.class, TestEvent2.class})
public void handleSuperTypeEvents(MessageEnvelope envelope) {
public void handleVariousEvents(MessageEnvelope envelope) {
// the envelope will contain either an instance of TestEvent or TestEvent2
// if rejectSubtypes were set to 'false' (default) also subtypes of TestEvent or TestEvent2 would be allowed
}