public interface ProtocolManagerFactory<P extends BaseInterceptor>
Modifier and Type | Method and Description |
---|---|
ProtocolManager |
createProtocolManager(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 Persister<Message>[] |
getPersister() |
String[] |
getProtocols() |
ProtocolManager createProtocolManager(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()
Copyright © 2018 JBoss by Red Hat. All rights reserved.