Class HTTPUpgradeService

java.lang.Object
org.wildfly.extension.messaging.activemq.HTTPUpgradeService
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<HTTPUpgradeService>, org.jboss.msc.value.Value<HTTPUpgradeService>

public class HTTPUpgradeService extends Object implements org.jboss.msc.service.Service<HTTPUpgradeService>
Service that handles HTTP upgrade for ActiveMQ remoting protocol.
Author:
Jeff Mesnil (c) 2013 Red Hat inc.
  • Constructor Details

    • HTTPUpgradeService

      public HTTPUpgradeService(String activeMQServerName, String acceptorName, String httpListenerName, Supplier<io.undertow.server.handlers.ChannelUpgradeHandler> upgradeSupplier, Supplier<io.undertow.server.ListenerRegistry> listenerRegistrySupplier)
  • Method Details

    • installService

      public static void installService(org.jboss.as.controller.CapabilityServiceTarget target, String activeMQServerName, String acceptorName, String httpListenerName)
    • start

      public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getValue

      Specified by:
      getValue in interface org.jboss.msc.value.Value<HTTPUpgradeService>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • getProtocol

      protected String getProtocol()
    • getSecKeyHeader

      protected String getSecKeyHeader()
    • getSecAcceptHeader

      protected String getSecAcceptHeader()
    • getHttpUpgradeEndpointKey

      protected String getHttpUpgradeEndpointKey()