Browse Source

Polish "Fix regression in JmsAccessor#setSessionAcknowledgeMode"

See gh-31328
pull/31338/head
Stéphane Nicoll 1 year ago
parent
commit
95e6902aef
  1. 3
      spring-jms/src/test/java/org/springframework/jms/support/JmsAccessorTests.java

3
spring-jms/src/test/java/org/springframework/jms/support/JmsAccessorTests.java

@ -109,7 +109,10 @@ class JmsAccessorTests { @@ -109,7 +109,10 @@ class JmsAccessorTests {
accessor.setSessionAcknowledgeMode(Session.SESSION_TRANSACTED);
assertThat(accessor.getSessionAcknowledgeMode()).isEqualTo(Session.SESSION_TRANSACTED);
}
@Test
void setCustomSessionAcknowledgeMode() {
accessor.setSessionAcknowledgeMode(999);
assertThat(accessor.getSessionAcknowledgeMode()).isEqualTo(999);
}

Loading…
Cancel
Save