Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 921 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 921 Bytes

Embedded openMQ broker jupiter extension

Build Status Quality Gate MIT License

A JUnit 5 extension for testing a jms interaction with openMQ broker.

@ImqBrokerTest
class YourTest {

    @ImqConnection
    private ConnectionFactory connectionFactory;

    @Test
    void testJms() throws Exception {
        try (Connection conn = connectionFactory.createConnection()) {
            // Do stuff
        }
    }

}