Skip to content

Commit

Permalink
0002279: Fix misleading warning. "None of the target nodes specified …
Browse files Browse the repository at this point in the history
…in the data.node_list field ({}) were qualified nodes"
  • Loading branch information
chenson42 committed Apr 21, 2015
1 parent 2d336a4 commit c59ffc2
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -704,9 +704,9 @@ protected int routeData(ProcessInfo processInfo, Data data, ChannelRouterContext
nodeIds = CollectionUtils.intersection(targetNodeIdsList, toNodeIds(findAvailableNodes(triggerRouter, context)));

if (nodeIds.size() == 0) {
log.warn(
"None of the target nodes specified in the data.node_list field ({}) were qualified nodes. {} will not be routed",
targetNodeIds, data.getDataId());
log.info(
"None of the target nodes specified in the data.node_list field ({}) were qualified nodes. {} will not be routed using the {} router",
new Object[] {targetNodeIds, data.getDataId(), triggerRouter.getRouter().getRouterId() });
}
} else {
try {
Expand Down

0 comments on commit c59ffc2

Please sign in to comment.