Skip to content

Commit

Permalink
1.0.7版本
Browse files Browse the repository at this point in the history
     修正Step中所有条件不为真时,报错问题
  • Loading branch information
wangsl committed Mar 2, 2019
1 parent 095eef3 commit bc28b8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ DActor框架可同时支持同步和异步代码,简化在线异步代码的
注意事项
请求的完整逻辑是分散在不同的线程中执行的,所以尽量避免使用ThreadLocal
## Release Note
1.0.7版本
修正Step中所有条件不为真时,报错问题
1.0.6版本
通过设置async=true的方式,便捷的增加旁路交易
移除对javax.mail-api的依赖
Expand Down
2 changes: 1 addition & 1 deletion dactor/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ÒÔÏÂÐÅÏ¢Ì滻Ϊ×Ô¼ºµÄ
PROJ_GROUP=cn.ymotel
PROJ_VERSION=1.0.6
PROJ_VERSION=1.0.7
PROJ_NAME=dactor
PROJ_WEBSITEURL=https://github.com/allon2/dactor
PROJ_ISSUETRACKERURL=https://github.com/allon2/dactor/issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ public static void FireNextMessage(Deque<ActorProcessStructure> deque, Deque<Act
}
}
String beanId = getBeanIdFromStep(strunc, message);
if(beanId==null){
return ;
}
String asyncBeanId=getAsyncBeanIdFromStep(strunc, message);
if(asyncBeanId!=null){
SendAsyncMessage(message,appcontext,asyncBeanId);
Expand Down Expand Up @@ -215,7 +218,7 @@ public static String getBeanIdFromStep(ActorProcessStructure struncture, Message
}

}
return null;
return struncture.getActorTransactionCfg().getEndBeanId();

}
public static String getAsyncBeanIdFromStep(ActorProcessStructure struncture, Message message) {
Expand Down

0 comments on commit bc28b8f

Please sign in to comment.