Open MarneusCalgarXP opened 11 years ago
When there are 2 similar methods (same name & same parameter count), the amqp hessian proxy calls sometimes the wrong method.
ie:
@Override public List requestSimpleOr(String indexName, String documentType, String keyWords, Class expectedClass, Sort sort) { return faceted_requester.requestSimpleOr(indexName, documentType, keyWords, expectedClass, sort).getResults(); } @Override public Page requestSimpleOr(String indexName, String documentType, String keyWords, Class expectedClass, Pageable pageable) { return faceted_requester.requestSimpleOr(indexName, documentType, keyWords, expectedClass, pageable).getResults(); }
The only solution for now is to rename one of the two methods, to avoid method collision problems
When there are 2 similar methods (same name & same parameter count), the amqp hessian proxy calls sometimes the wrong method.
ie:
The only solution for now is to rename one of the two methods, to avoid method collision problems