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:
Oleg Zhurakousky
2010-08-02 01:53:45 +00:00
parent a5031020e7
commit 8b1c5b1315
2 changed files with 57 additions and 6 deletions

View File

@@ -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());
}
}