Skip to content

Commit d733957

Browse files
author
chengyitian
committed
AJ-642: add default action name for cep unsubscribe;
1 parent a9337ac commit d733957

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/com/xxdb/streaming/cep/EventClient.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ public void subscribe(String host, int port, String tableName, String actionName
7878
}
7979

8080
public void unsubscribe(String host, int port, String tableName, String actionName) throws IOException {
81+
if (Utils.isEmpty(actionName))
82+
actionName = DEFAULT_ACTION_NAME;
8183
unsubscribeInternal(host, port, tableName, actionName);
8284
}
8385

0 commit comments

Comments
 (0)