Polishing

This commit is contained in:
Juergen Hoeller
2015-05-07 16:03:15 +02:00
parent 783cb2c438
commit 1cc042d4c7
5 changed files with 30 additions and 25 deletions

View File

@@ -636,9 +636,9 @@ public class AnnotationDrivenEventListenerTests {
}
@Override
@EventListener(condition = "'OK'.equals(#content)")
public void handleString(String content) {
super.handleString(content);
@EventListener(condition = "#payload.startsWith('OK')")
public void handleString(String payload) {
super.handleString(payload);
}
@EventListener(condition = "#root.event.timestamp > #p0")