Fix potential issue when Message is not available but not needed

If an isolated function doesn't have Message in its classpath, we
will never actually need to instantiate that class. This change
makes sure we check first.
This commit is contained in:
Dave Syer
2018-04-25 07:27:33 +01:00
parent 8cf3d7bc5a
commit 59f94c1533
4 changed files with 48 additions and 7 deletions