INT-1302, MarshallingWebServiceInboundGateway now implements SmartLifecycle, so it will register itself as a subscriber to the reply-channel. It wasn't doing this.
This commit is contained in:
@@ -17,6 +17,7 @@ package org.springframework.integration.ws.config;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.is;
|
||||
import static org.junit.Assert.assertThat;
|
||||
import static junit.framework.Assert.assertTrue;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
@@ -87,5 +88,6 @@ public class WebServiceInboundGatewayParserTests {
|
||||
is(marshaller));
|
||||
assertThat((AbstractMarshaller) accessor.getPropertyValue("unmarshaller"),
|
||||
is(marshaller));
|
||||
assertTrue("messaging gateway is not running", marshallingGateway.isRunning());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user