Expose MessageProducerSpec.role(String) option
Related to: https://stackoverflow.com/questions/78294542/role-in-integrationflow-dsl
(cherry picked from commit fd81adff27)
This commit is contained in:
committed by
Spring Builds
parent
6c4f7c0822
commit
a25b0a8691
@@ -522,6 +522,7 @@ public class JmsTests extends ActiveMQMultiContextTests {
|
||||
public IntegrationFlow jmsMessageDrivenRedeliveryFlow() {
|
||||
return IntegrationFlow
|
||||
.from(Jms.messageDrivenChannelAdapter(amqFactory)
|
||||
.role("someRole")
|
||||
.errorChannel("errorChannelForRedelivery")
|
||||
.destination("jmsMessageDrivenRedelivery")
|
||||
.configureListenerContainer(c -> c
|
||||
|
||||
Reference in New Issue
Block a user