assimbly / gateway

A message gateway based on Apache Camel
Apache License 2.0
69 stars 9 forks source link

Broker - set registry ssl - problems on imaps and smtps #816

Closed brunovg closed 10 months ago

brunovg commented 10 months ago

On broker mode, throws a java.lang.NullPointerException when trying to set ssl on imaps and smtps on container startup.


org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'certificateManagerRuntime': Unsatisfied dependency expressed through field 'integrationRuntime'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'integrationRuntime' defined in URL [jar:file:/Users/bvg/.m2/repository/org/assimbly/integration-rest/4.0.5-SNAPSHOT/integration-rest-4.0.5-SNAPSHOT.jar!/org/assimbly/integrationrest/IntegrationRuntime.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.assimbly.integrationrest.IntegrationRuntime]: Constructor threw exception; nested exception is java.lang.NullPointerException

Set registry ssl
sslComponent >>> ftps
getComponent >>> org.apache.camel.component.file.remote.FtpsComponent@6ed667b5
sslComponent >>> https
getComponent >>> org.apache.camel.component.http.HttpComponent@735b5f3f
sslComponent >>> imaps
getComponent >>> null
Error setting ssl on imaps
sslComponent >>> kafka
getComponent >>> org.apache.camel.component.kafka.KafkaComponent@5c681138
sslComponent >>> jetty
getComponent >>> org.apache.camel.component.jetty9.JettyHttpComponent9@198a5b39
sslComponent >>> netty
getComponent >>> org.apache.camel.component.netty.NettyComponent@36502eee
sslComponent >>> netty-http
getComponent >>> org.apache.camel.component.netty.http.NettyHttpComponent@40b978a9
sslComponent >>> smtps
getComponent >>> null
Error setting ssl on smtps
sslComponent >>> vertx-http
getComponent >>> org.apache.camel.component.vertx.http.VertxHttpComponent@4e850dc1