@Test void testOnlyMatchesEventMessages() { assertTrue(subject.matches(asEventMessage("testEvent"))); assertFalse(subject.matches(new GenericCommandMessage<>("testCommand"))); }
@Override public boolean matches(Message<?> message) { return message instanceof EventMessage<?>; }
ConcludesBatchParameterResolverFactory extends AbstractAnnotatedParameterResolverFactory<ConcludesBatch,
        Boolean> implements ParameterResolver<Boolean> { @Override public boolean matches(Message<?> message) { return message instanceof EventMessage<?>; } }
ConcludesBatchParameterResolverFactory extends AbstractAnnotatedParameterResolverFactory<ConcludesBatch,
        Boolean> implements ParameterResolver<Boolean> { @Override public boolean matches(Message<?> message) { return message instanceof EventMessage<?>; } ConcludesBatchParameterResolverFactory(); }
ConcludesBatchParameterResolverFactory extends AbstractAnnotatedParameterResolverFactory<ConcludesBatch,
        Boolean> implements ParameterResolver<Boolean> { @Override public boolean matches(Message<?> message) { return message instanceof EventMessage<?>; } ConcludesBatchParameterResolverFactory(); @Override Boolean resolveParameterValue(Message<?> message); @Override boolean matches(Message<?> message); }
ConcludesBatchParameterResolverFactory extends AbstractAnnotatedParameterResolverFactory<ConcludesBatch,
        Boolean> implements ParameterResolver<Boolean> { @Override public boolean matches(Message<?> message) { return message instanceof EventMessage<?>; } ConcludesBatchParameterResolverFactory(); @Override Boolean resolveParameterValue(Message<?> message); @Override boolean matches(Message<?> message);  }