@Documented @Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) @MessageHandler(messageType=QueryMessage.class) public @interface QueryHandler
AnnotationQueryHandlerAdapter
to subscribe
the annotated class to the query bus.
The annotated method's first parameter is the query handled by that method. Optionally, the query handler may
specify a second parameter of type MetaData
. The active MetaData will be
passed if that parameter is supplied.
public abstract String queryName
Copyright © 2010–2018. All rights reserved.