public class ClusterJMSService extends Object implements ClusterService
Modifier and Type | Class and Description |
---|---|
static class |
ClusterJMSService.JMSExceptionListener |
ClusterService.DestinationType
Constructor and Description |
---|
ClusterJMSService() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(ClusterService.DestinationType type,
String channel,
Serializable object) |
void |
close() |
void |
connect() |
<T> void |
createConsumer(ClusterService.DestinationType type,
String channel,
Class<T> objectMessageClass,
Consumer<T> listener) |
boolean |
isAppFormerClustered() |
public void connect()
connect
in interface ClusterService
public <T> void createConsumer(ClusterService.DestinationType type, String channel, Class<T> objectMessageClass, Consumer<T> listener)
createConsumer
in interface ClusterService
public void broadcast(ClusterService.DestinationType type, String channel, Serializable object)
broadcast
in interface ClusterService
public boolean isAppFormerClustered()
isAppFormerClustered
in interface ClusterService
public void close()
close
in interface ClusterService
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.