public class CoreProtocolManagerFactory extends AbstractProtocolManagerFactory<org.apache.activemq.artemis.api.core.Interceptor>
| Constructor and Description |
|---|
CoreProtocolManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
ProtocolManager |
createProtocolManager(ActiveMQServer server,
Map<String,Object> parameters,
List<org.apache.activemq.artemis.api.core.BaseInterceptor> incomingInterceptors,
List<org.apache.activemq.artemis.api.core.BaseInterceptor> outgoingInterceptors)
When you create the ProtocolManager, you should filter out any interceptors that won't belong
to this Protocol.
|
List<org.apache.activemq.artemis.api.core.Interceptor> |
filterInterceptors(List<org.apache.activemq.artemis.api.core.BaseInterceptor> interceptors)
This should get the entire list and only return the ones this factory can deal with *
|
String |
getModuleName() |
String[] |
getProtocols() |
internalFilterInterceptorspublic ProtocolManager createProtocolManager(ActiveMQServer server, Map<String,Object> parameters, List<org.apache.activemq.artemis.api.core.BaseInterceptor> incomingInterceptors, List<org.apache.activemq.artemis.api.core.BaseInterceptor> outgoingInterceptors) throws Exception
Interceptor to Stomp * * * *server - incomingInterceptors - outgoingInterceptors - Exceptionpublic List<org.apache.activemq.artemis.api.core.Interceptor> filterInterceptors(List<org.apache.activemq.artemis.api.core.BaseInterceptor> interceptors)
ProtocolManagerFactorypublic String[] getProtocols()
public String getModuleName()
Copyright © 2023 The Apache Software Foundation. All rights reserved.