|
|
@ -133,8 +133,15 @@ public class SampleIntegrationTests {
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void jmsSample() throws Exception {
|
|
|
|
public void jmsSample() throws Exception {
|
|
|
|
|
|
|
|
System.setProperty("spring.artemis.embedded.queues", "spring-boot");
|
|
|
|
|
|
|
|
try {
|
|
|
|
String output = this.cli.run("jms.groovy");
|
|
|
|
String output = this.cli.run("jms.groovy");
|
|
|
|
assertThat(output).contains("Received Greetings from Spring Boot via Artemis");
|
|
|
|
assertThat(output)
|
|
|
|
|
|
|
|
.contains("Received Greetings from Spring Boot via Artemis");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
finally {
|
|
|
|
|
|
|
|
System.clearProperty("spring.artemis.embedded.queues");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|