Skip to content

Commit

Permalink
Merge branch 'main' into turn_off_graceful_shutdown_for_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ozangunalp authored Feb 5, 2024
2 parents e1c0fc5 + c34bfcd commit 0b1cc5d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion quarkus-solace-messaging-connector/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</dependency>
<dependency>
<groupId>com.solace.quarkus</groupId>
<artifactId>quarkus-solace-client-deployment</artifactId>
<artifactId>quarkus-solace-messaging-connector</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
16 changes: 16 additions & 0 deletions quarkus-solace-messaging-connector/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,22 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-maven-plugin</artifactId>
<version>${quarkus.version}</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>extension-descriptor</goal>
</goals>
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.solace.quarkus.messaging.SolaceConnector;
import com.solace.quarkus.messaging.converters.SolaceMessageConverter;

import io.quarkus.runtime.configuration.QuarkusConfigFactory;
import io.smallrye.config.SmallRyeConfigProviderResolver;
import io.smallrye.config.inject.ConfigExtension;
import io.smallrye.reactive.messaging.providers.MediatorFactory;
Expand Down Expand Up @@ -79,6 +80,8 @@ public void stopContainer() {
}
// Release the config objects
SmallRyeConfigProviderResolver.instance().releaseConfig(ConfigProvider.getConfig());
QuarkusConfigFactory.setConfig(null);
MapBasedConfig.cleanup();
}

public BeanManager getBeanManager() {
Expand Down

0 comments on commit 0b1cc5d

Please sign in to comment.