Add Message and MessageConverter to the list of classes loaded by deployer
This commit is contained in:
@@ -162,9 +162,13 @@ class FunctionArchiveDeployer extends JarLauncher {
|
||||
|
||||
private boolean shouldLoadViaDeployerLoader(String name) {
|
||||
return name.startsWith("org.reactivestreams")
|
||||
|| name.startsWith("reactor.");
|
||||
|| name.startsWith("reactor.")
|
||||
|| name.startsWith("org.springframework.messaging.Message")
|
||||
|| name.startsWith("org.springframework.messaging.converter.MessageConverter");
|
||||
}
|
||||
|
||||
|
||||
|
||||
private String discoverFunctionClassName(FunctionDeployerProperties functionProperties) {
|
||||
try {
|
||||
return StringUtils.hasText(functionProperties.getFunctionClass())
|
||||
|
||||
Reference in New Issue
Block a user