Class ProtonProtocolManagerFactory

  • All Implemented Interfaces:
    org.apache.activemq.artemis.spi.core.protocol.ProtocolManagerFactory<AmqpInterceptor>

    public class ProtonProtocolManagerFactory
    extends org.apache.activemq.artemis.spi.core.protocol.AbstractProtocolManagerFactory<AmqpInterceptor>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AMQP_PROTOCOL_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.activemq.artemis.spi.core.protocol.ProtocolManager createProtocolManager​(org.apache.activemq.artemis.core.server.ActiveMQServer server, java.util.Map<java.lang.String,​java.lang.Object> parameters, java.util.List<org.apache.activemq.artemis.api.core.BaseInterceptor> incomingInterceptors, java.util.List<org.apache.activemq.artemis.api.core.BaseInterceptor> outgoingInterceptors)  
      java.util.List<AmqpInterceptor> filterInterceptors​(java.util.List<org.apache.activemq.artemis.api.core.BaseInterceptor> interceptors)  
      java.lang.String getModuleName()  
      org.apache.activemq.artemis.core.persistence.Persister<org.apache.activemq.artemis.api.core.Message>[] getPersister()  
      java.lang.String[] getProtocols()  
      void loadProtocolServices​(org.apache.activemq.artemis.core.server.ActiveMQServer server, java.util.List<org.apache.activemq.artemis.core.server.ActiveMQComponent> services)
      AMQP integration with the broker on this case needs to be soft.
      • Methods inherited from class org.apache.activemq.artemis.spi.core.protocol.AbstractProtocolManagerFactory

        internalFilterInterceptors
      • Methods inherited from class java.lang.Object

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

      • AMQP_PROTOCOL_NAME

        public static final java.lang.String AMQP_PROTOCOL_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProtonProtocolManagerFactory

        public ProtonProtocolManagerFactory()
    • Method Detail

      • getPersister

        public org.apache.activemq.artemis.core.persistence.Persister<org.apache.activemq.artemis.api.core.Message>[] getPersister()
      • createProtocolManager

        public org.apache.activemq.artemis.spi.core.protocol.ProtocolManager createProtocolManager​(org.apache.activemq.artemis.core.server.ActiveMQServer server,
                                                                                                   java.util.Map<java.lang.String,​java.lang.Object> parameters,
                                                                                                   java.util.List<org.apache.activemq.artemis.api.core.BaseInterceptor> incomingInterceptors,
                                                                                                   java.util.List<org.apache.activemq.artemis.api.core.BaseInterceptor> outgoingInterceptors)
                                                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • filterInterceptors

        public java.util.List<AmqpInterceptor> filterInterceptors​(java.util.List<org.apache.activemq.artemis.api.core.BaseInterceptor> interceptors)
      • getProtocols

        public java.lang.String[] getProtocols()
      • getModuleName

        public java.lang.String getModuleName()
      • loadProtocolServices

        public void loadProtocolServices​(org.apache.activemq.artemis.core.server.ActiveMQServer server,
                                         java.util.List<org.apache.activemq.artemis.core.server.ActiveMQComponent> services)
        AMQP integration with the broker on this case needs to be soft. As the broker may choose to not load the AMQP Protocol
        Specified by:
        loadProtocolServices in interface org.apache.activemq.artemis.spi.core.protocol.ProtocolManagerFactory<AmqpInterceptor>
        Overrides:
        loadProtocolServices in class org.apache.activemq.artemis.spi.core.protocol.AbstractProtocolManagerFactory<AmqpInterceptor>