Skip to content

Commit

Permalink
bump(jakarta-jms test): artemis-jakarta-client, ... 2.33.0 (was 2.31.…
Browse files Browse the repository at this point in the history
…2) (#3159)

* bump: artemis-jakarta-client, ... 2.33.0 (was 2.31.2)
* Use current API
* new API in Java test
  • Loading branch information
scala-steward authored Mar 28, 2024
1 parent f27c7d0 commit 97ed73a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void publishAndConsumeJmsObjectMessage() throws Exception {
// #object-source
ActiveMQConnectionFactory connectionFactory =
(ActiveMQConnectionFactory) server.createConnectionFactory();
connectionFactory.setDeserializationWhiteList(
connectionFactory.setDeserializationAllowList(
DummyJavaTests.class.getPackage().getName());

// #object-source
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class JmsConnectorsSpec extends JmsSpec {
//#object-sink
//#object-source
val connectionFactory = connFactory.asInstanceOf[ActiveMQConnectionFactory]
connectionFactory.setDeserializationWhiteList(classOf[DummyObject].getPackage.getName)
connectionFactory.setDeserializationAllowList(classOf[DummyObject].getPackage.getName)
//#object-sink
//#object-source

Expand Down
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ object Dependencies {
val JakartaJms = Seq(
libraryDependencies ++= Seq(
"jakarta.jms" % "jakarta.jms-api" % "3.1.0", // Eclipse Public License 2.0 + + GPLv2
"org.apache.activemq" % "artemis-jakarta-server" % "2.31.2" % Test, // ApacheV2
"org.apache.activemq" % "artemis-jakarta-client" % "2.31.2" % Test, // ApacheV2
"org.apache.activemq" % "artemis-jakarta-server" % "2.33.0" % Test, // ApacheV2
"org.apache.activemq" % "artemis-jakarta-client" % "2.33.0" % Test, // ApacheV2
// slf4j-api 2.0.9 via activemq-client
"ch.qos.logback" % "logback-classic" % "1.4.14" % Test
) ++ Mockito
Expand Down

0 comments on commit 97ed73a

Please sign in to comment.