Skip to content

Commit

Permalink
added netty resolver and upgraded solace java version to 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SravanThotakura05 committed Oct 10, 2024
1 parent dedb3b1 commit 76d521a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.version>3.8.6</quarkus.version>

<solace.version>1.4.0</solace.version>
<solace.version>1.7.0</solace.version>

<assertj-core.version>3.24.2</assertj-core.version>
<weld.version>5.1.2.Final</weld.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.Optional;
import java.util.function.Function;

import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Instance;

Expand Down Expand Up @@ -104,4 +105,12 @@ HealthBuildItem addHealthCheck(SolaceBuildTimeConfig buildTimeConfig) {
buildTimeConfig.health().enabled());
}

/**
* `Version.identify()` in netty-common uses the resource to determine the version of netty.
*/
@BuildStep
NativeImageResourceBuildItem nettyVersions() {
return new NativeImageResourceBuildItem("META-INF/io.netty.versions.properties");
}

}

0 comments on commit 76d521a

Please sign in to comment.