Class RabbitMqAmqpTransportConnectorTest


  • public class RabbitMqAmqpTransportConnectorTest
    extends java.lang.Object
    Tests the RabbitMqAmqpTransportConnector.
    Author:
    Holger Eichelberger, SSE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void doTest​(test.de.iip_ecosphere.platform.transport.AbstractTransportConnectorTest.TransportParameterConfigurer configurer)
      Performs the test.
      void testRabbitMqConnector()
      Tests the connector through explicitly setting/resetting the factory implementation.
      void testRabbitMqTlsConnector()
      Tests the connector through TLS and explicitly setting/resetting the factory implementation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RabbitMqAmqpTransportConnectorTest

        public RabbitMqAmqpTransportConnectorTest()
    • Method Detail

      • testRabbitMqConnector

        public void testRabbitMqConnector()
                                   throws java.io.IOException
        Tests the connector through explicitly setting/resetting the factory implementation. Builds up a TestQpidServer so that the test is self-contained.
        Throws:
        java.io.IOException - in case that connection/communication fails
      • testRabbitMqTlsConnector

        public void testRabbitMqTlsConnector()
                                      throws java.io.IOException
        Tests the connector through TLS and explicitly setting/resetting the factory implementation. Builds up a TLS TestQpidServer so that the test is self-contained.
        Throws:
        java.io.IOException - in case that connection/communication fails
      • doTest

        private void doTest​(test.de.iip_ecosphere.platform.transport.AbstractTransportConnectorTest.TransportParameterConfigurer configurer)
                     throws java.io.IOException
        Performs the test.
        Parameters:
        configurer - the test configurer
        Throws:
        java.io.IOException - in case that connection/communication fails