Added ability to autowire MessageSource to TestBinder
This commit is contained in:
@@ -120,6 +120,7 @@ public class TestChannelBinder extends AbstractMessageChannelBinder<ConsumerProp
|
||||
* Set a delegate {@link MessageSource} for pollable consumers.
|
||||
* @param messageSourceDelegate the delegate.
|
||||
*/
|
||||
@Autowired(required=false)
|
||||
public void setMessageSourceDelegate(MessageSource<byte[]> messageSourceDelegate) {
|
||||
this.messageSourceDelegate = messageSourceDelegate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user