INT-4512: Add more JMS options for DSL builders

JIRA: https://jira.spring.io/browse/INT-4512

* Add `JmsListenerContainerSpec.subscriptionShared()` option

**Cherry-pick to 5.0.x**
This commit is contained in:
Artem Bilan
2018-07-27 10:21:14 -04:00
committed by Gary Russell
parent c44cd2b99b
commit cdba9a741c
2 changed files with 16 additions and 1 deletions

View File

@@ -417,6 +417,8 @@ public class JmsTests {
.destination("jmsMessageDrivenRedelivery")
.configureListenerContainer(c -> c
.transactionManager(mock(PlatformTransactionManager.class))
.subscriptionDurable(false)
.subscriptionShared(false)
.id("jmsMessageDrivenRedeliveryFlowContainer")))
.<String, String>transform(p -> {
throw new RuntimeException("intentional");