public interface ProtocolManagerFactory<P extends BaseInterceptor>
Modifier and Type | Method and Description |
---|---|
ProtocolManager |
createProtocolManager(org.apache.activemq.artemis.core.server.ActiveMQServer server,
Map<String,Object> parameters,
List<BaseInterceptor> incomingInterceptors,
List<BaseInterceptor> outgoingInterceptors)
When you create the ProtocolManager, you should filter out any interceptors that won't belong
to this Protocol.
|
List<P> |
filterInterceptors(List<BaseInterceptor> interceptors)
This should get the entire list and only return the ones this factory can deal with *
|
String |
getModuleName() |
default org.apache.activemq.artemis.core.persistence.Persister<Message>[] |
getPersister() |
String[] |
getProtocols() |
void |
loadProtocolServices(org.apache.activemq.artemis.core.server.ActiveMQServer server,
List<org.apache.activemq.artemis.core.server.ActiveMQComponent> services) |
default org.apache.activemq.artemis.core.persistence.Persister<Message>[] getPersister()
ProtocolManager createProtocolManager(org.apache.activemq.artemis.core.server.ActiveMQServer server, Map<String,Object> parameters, List<BaseInterceptor> incomingInterceptors, List<BaseInterceptor> outgoingInterceptors) throws Exception
Interceptor
to Stomp * * *server
- incomingInterceptors
- outgoingInterceptors
- Exception
List<P> filterInterceptors(List<BaseInterceptor> interceptors)
interceptors
- String[] getProtocols()
String getModuleName()
void loadProtocolServices(org.apache.activemq.artemis.core.server.ActiveMQServer server, List<org.apache.activemq.artemis.core.server.ActiveMQComponent> services)
Copyright © 2020 The Apache Software Foundation. All rights reserved.