Class TestWithBroker
java.lang.Object
test.de.iip_ecosphere.platform.simpleStream.spring.TestWithBroker
Executes the streams in
Test with as well as a broker. The broker is prescribed by the environment
this test shall be executed within, i.e., services.spring which instantiates the Qpid AMQP server.
Requires the Qpid configuration file in src/test and packaged as ZIP into the services jar file (see POM). We do
not rely on MQTT here, because moquette is not stable enough and Hivemq requires JDK 11.- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidextractBrokerConfig(String zipLoc, String unpacked) Tries to extract the broker configuration.static voidMain function.
-
Constructor Details
-
TestWithBroker
public TestWithBroker()
-
-
Method Details
-
extractBrokerConfig
Tries to extract the broker configuration.- Parameters:
zipLoc- the location where to read the zipped file from the classpathunpacked- the unpackaged configuration in the source project
-
main
Main function.- Parameters:
args- command line arguments
-