-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(commonjms): Update commons jms to 2.0.1 version and generated code (
#434) * fix(commonjms): Update commons jms to 2.0.1 version and generated code * ci(check): disable dependency check because too slow
- Loading branch information
1 parent
d4906b8
commit a0a0175
Showing
9 changed files
with
16 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 3 additions & 12 deletions
15
src/main/resources/driven-adapter/mq-sender/req-reply-gateway.java.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
package {{package}}.mq.reqreply; | ||
|
||
import co.com.bancolombia.commons.jms.api.MQRequestReply; | ||
import co.com.bancolombia.commons.jms.mq.ReqReply; | ||
import reactor.core.publisher.Mono; | ||
|
||
import jakarta.jms.Message; | ||
|
||
@ReqReply(requestQueue = "DEV.QUEUE.1") // TODO: Change the queue name, or use from properties like ${my.queue} | ||
public interface ReqReplyGateway { | ||
Mono<Message> requestReply(String message); | ||
// You can use one of the next alternatives | ||
// Mono<Message> requestReply(String message, Duration timeout); | ||
// | ||
// Mono<Message> requestReply(MQMessageCreator messageCreator); | ||
// | ||
// Mono<Message> requestReply(MQMessageCreator messageCreator, Duration timeout); | ||
@ReqReply(requestQueue = "${commons.jms.output-queue}"/*replyQueue = "${commons.jms.input-queue}", queueType = FIXED*/) // TODO: Change the queue name, or use from properties like ${my.queue} | ||
public interface ReqReplyGateway extends MQRequestReply { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters