Skip to content

Commit

Permalink
Merge pull request #139 from smecsia/master
Browse files Browse the repository at this point in the history
Fix resulting body for fsm aggregation when exception is occured
  • Loading branch information
smecsia committed Dec 4, 2015
2 parents 8bf47bf + 7c64b6f commit 5c651a9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ public Exchange aggregate(Exchange state, Exchange message) {
currentThread().setContextClassLoader(originalCL);
}

if (result != null) {
message.getIn().setBody(result);
}
message.getIn().setBody(result);
return processBeforeOut(message);
}

Expand Down

0 comments on commit 5c651a9

Please sign in to comment.