Class RabbitMQConnector

  • All Implemented Interfaces:
    io.gridgo.connector.Connector, io.gridgo.framework.ComponentLifecycle, io.gridgo.utils.helper.Loggable, io.gridgo.utils.helper.Startable

    public class RabbitMQConnector
    extends io.gridgo.connector.impl.AbstractConnector
    • Field Summary

      • Fields inherited from class io.gridgo.connector.impl.AbstractConnector

        consumer, LOCALHOST, producer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String generateName()  
      protected java.lang.String getUniqueIdentifier()  
      protected com.rabbitmq.client.Connection newConnection()  
      protected void onInit()  
      • Methods inherited from class io.gridgo.connector.impl.AbstractConnector

        getConnectorConfig, getConsumer, getContext, getParam, getParam, getPlaceholder, getProducer, initialize, onStart, onStop
      • Methods inherited from class io.gridgo.framework.AbstractComponentLifecycle

        getName, isStarted, start, stop, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface io.gridgo.framework.ComponentLifecycle

        getName, start, stop
      • Methods inherited from interface io.gridgo.utils.helper.Loggable

        getLogger, getLogger
    • Constructor Detail

      • RabbitMQConnector

        public RabbitMQConnector()
    • Method Detail

      • generateName

        protected java.lang.String generateName()
        Overrides:
        generateName in class io.gridgo.connector.impl.AbstractConnector
      • getUniqueIdentifier

        protected java.lang.String getUniqueIdentifier()
      • newConnection

        protected com.rabbitmq.client.Connection newConnection()
      • onInit

        protected void onInit()
        Overrides:
        onInit in class io.gridgo.connector.impl.AbstractConnector