Class ChannelBroadcastEndpointFactory
- java.lang.Object
-
- org.apache.activemq.artemis.api.core.ChannelBroadcastEndpointFactory
-
- All Implemented Interfaces:
Serializable
,BroadcastEndpointFactory
public class ChannelBroadcastEndpointFactory extends Object implements BroadcastEndpointFactory
An implementation of BroadcastEndpointFactory that uses an externally managed JChannel for JGroups clustering. Note - the underlying JChannel is not closed in this implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChannelBroadcastEndpointFactory(org.jgroups.JChannel channel, String channelName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BroadcastEndpoint
createBroadcastEndpoint()
org.jgroups.JChannel
getChannel()
String
getChannelName()
String
toString()
-
-
-
Constructor Detail
-
ChannelBroadcastEndpointFactory
public ChannelBroadcastEndpointFactory(org.jgroups.JChannel channel, String channelName)
-
-
Method Detail
-
getChannel
public org.jgroups.JChannel getChannel()
-
getChannelName
public String getChannelName()
-
createBroadcastEndpoint
public BroadcastEndpoint createBroadcastEndpoint() throws Exception
- Specified by:
createBroadcastEndpoint
in interfaceBroadcastEndpointFactory
- Throws:
Exception
-
-