Browse Source
Artemis seems to be a bit flakey which is causing sporadic build failures, for example due to an NPE in Artemis' code.pull/7322/head
3 changed files with 22 additions and 7 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
@Configuration |
||||
class App { |
||||
|
||||
@Bean |
||||
MyService myService() { |
||||
return new MyService() |
||||
} |
||||
|
||||
} |
||||
|
||||
class MyService { |
||||
|
||||
String sayWorld() { |
||||
return "World!" |
||||
} |
||||
|
||||
} |
||||
@ -1,14 +1,12 @@
@@ -1,14 +1,12 @@
|
||||
import org.springframework.jms.core.JmsTemplate |
||||
|
||||
@SpringBootTest(classes=JmsExample) |
||||
class JmsTests { |
||||
@SpringBootTest(classes=App) |
||||
class AppTests { |
||||
|
||||
@Autowired |
||||
JmsTemplate jmsTemplate |
||||
MyService myService |
||||
|
||||
@Test |
||||
void test() { |
||||
assertNotNull(jmsTemplate) |
||||
assertNotNull(myService) |
||||
} |
||||
|
||||
} |
||||
|
||||
Loading…
Reference in new issue