public class CoreProtocolManagerFactory extends AbstractProtocolManagerFactory<Interceptor>
Constructor and Description |
---|
CoreProtocolManagerFactory() |
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<Interceptor> |
filterInterceptors(List<BaseInterceptor> interceptors)
This should get the entire list and only return the ones this factory can deal with *
|
String |
getModuleName() |
Persister<Message>[] |
getPersister() |
String[] |
getProtocols() |
internalFilterInterceptors
public ProtocolManager createProtocolManager(ActiveMQServer server, Map<String,Object> parameters, List<BaseInterceptor> incomingInterceptors, List<BaseInterceptor> outgoingInterceptors) throws Exception
Interceptor
to Stomp * * * *server
- incomingInterceptors
- outgoingInterceptors
- Exception
public List<Interceptor> filterInterceptors(List<BaseInterceptor> interceptors)
ProtocolManagerFactory
public String[] getProtocols()
public String getModuleName()
Copyright © 2018 JBoss by Red Hat. All rights reserved.