protected void destroyService() {
// no-op
}
protected Channel createChannel() {
ChannelFactory factory = this.getChannelFactory();
if (factory == null) {
throw MESSAGES.haPartitionConfigHasNo("JChannelFactory");
}
String stack = this.getChannelStackName();
if (stack == null) {
throw MESSAGES.haPartitionConfigHasNo("multiplexer stack");
}
try {
return factory.createChannel(this.getGroupName());
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw MESSAGES.failedToCreateMultiplexChannel(e);
}