Merge branch 'wn_promotion' into gray
Showing
1 changed file
with
0 additions
and
4 deletions
@@ -36,10 +36,6 @@ public class ShopsBrandsMqListener extends AbstractMqListener implements Channel | @@ -36,10 +36,6 @@ public class ShopsBrandsMqListener extends AbstractMqListener implements Channel | ||
36 | @Override | 36 | @Override |
37 | public void onMessage(Message message, Channel channel) throws Exception { | 37 | public void onMessage(Message message, Channel channel) throws Exception { |
38 | try { | 38 | try { |
39 | - String idField = ISearchConstants.getKeyField(getIndexName()); | ||
40 | - if (StringUtils.isBlank(idField)) { | ||
41 | - throw new Exception("idField is empty,indexName is " + getIndexName()); | ||
42 | - } | ||
43 | process(this, message); | 39 | process(this, message); |
44 | } catch (Exception e) { | 40 | } catch (Exception e) { |
45 | publisher.publishEvent(buildSearchEvent(EventReportEnum.SHOPSBRADNSMQLISTENER_ONMESSAGE, e)); | 41 | publisher.publishEvent(buildSearchEvent(EventReportEnum.SHOPSBRADNSMQLISTENER_ONMESSAGE, e)); |
-
Please register or login to post a comment