Expose MessageProducerSpec.role(String) option
Related to: https://stackoverflow.com/questions/78294542/role-in-integrationflow-dsl **Auto-cherry-pick to `6.2.x` & `6.1.x`**
This commit is contained in:
@@ -534,6 +534,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