File tree 5 files changed +83
-0
lines changed
src/main/java/io/quarkus/jms/spi/deployment
5 files changed +83
-0
lines changed Original file line number Diff line number Diff line change 175
175
<!-- google cloud functions invoker-->
176
176
<gcf-invoker .version>1.1.1</gcf-invoker .version>
177
177
<owasp-dependency-check-plugin .version>7.4.4</owasp-dependency-check-plugin .version>
178
+
179
+ <!-- Jakarta JMS API -->
180
+ <jakarta .jms-api.version>2.0.3</jakarta .jms-api.version>
178
181
</properties >
179
182
180
183
<dependencyManagement >
348
351
<artifactId >mermaid</artifactId >
349
352
<version >${webjar.mermaid.version} </version >
350
353
</dependency >
354
+ <dependency >
355
+ <groupId >jakarta.jms</groupId >
356
+ <artifactId >jakarta.jms-api</artifactId >
357
+ <version >${jakarta.jms-api.version} </version >
358
+ </dependency >
351
359
<dependency >
352
360
<groupId >com.github.davidmoten</groupId >
353
361
<artifactId >subethasmtp</artifactId >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <parent >
8
+ <groupId >io.quarkus</groupId >
9
+ <artifactId >quarkus-jms-spi-parent</artifactId >
10
+ <version >999-SNAPSHOT</version >
11
+ </parent >
12
+
13
+ <artifactId >quarkus-jms-spi-deployment</artifactId >
14
+ <name >Quarkus - JMS - SPI - Deployment</name >
15
+
16
+ <dependencies >
17
+ <dependency >
18
+ <groupId >io.quarkus</groupId >
19
+ <artifactId >quarkus-core-deployment</artifactId >
20
+ </dependency >
21
+ <dependency >
22
+ <groupId >jakarta.jms</groupId >
23
+ <artifactId >jakarta.jms-api</artifactId >
24
+ </dependency >
25
+ </dependencies >
26
+
27
+ </project >
Original file line number Diff line number Diff line change
1
+ package io .quarkus .jms .spi .deployment ;
2
+
3
+ import java .util .function .Function ;
4
+
5
+ import javax .jms .ConnectionFactory ;
6
+
7
+ import io .quarkus .builder .item .SimpleBuildItem ;
8
+
9
+ /**
10
+ * A build item that can be used to wrap the JMS ConnectionFactory
11
+ */
12
+ public final class ConnectionFactoryWrapperBuildItem extends SimpleBuildItem {
13
+ private final Function <ConnectionFactory , Object > wrapper ;
14
+
15
+ public ConnectionFactoryWrapperBuildItem (Function <ConnectionFactory , Object > wrapper ) {
16
+ if (wrapper == null ) {
17
+ throw new AssertionError ("wrapper is required" );
18
+ }
19
+ this .wrapper = wrapper ;
20
+ }
21
+
22
+ public Function <ConnectionFactory , Object > getWrapper () {
23
+ return wrapper ;
24
+ }
25
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <parent >
6
+ <artifactId >quarkus-extensions-parent</artifactId >
7
+ <groupId >io.quarkus</groupId >
8
+ <version >999-SNAPSHOT</version >
9
+ <relativePath >../pom.xml</relativePath >
10
+ </parent >
11
+ <modelVersion >4.0.0</modelVersion >
12
+
13
+ <artifactId >quarkus-jms-spi-parent</artifactId >
14
+ <name >Quarkus - JMS SPI - Parent</name >
15
+ <packaging >pom</packaging >
16
+ <modules >
17
+ <module >deployment</module >
18
+ </modules >
19
+
20
+ </project >
Original file line number Diff line number Diff line change 198
198
199
199
<module >awt</module >
200
200
201
+ <!-- JMS -->
202
+ <module >jms-spi</module >
203
+
201
204
</modules >
202
205
203
206
<build >
You can’t perform that action at this time.
0 commit comments