class WriteableRemoveBroker implements Writeable {
private RemoveBroker removeBroker;
public WriteableRemoveBroker(EndpointReference brokerConsumerEpr, List<EndpointReference> neighborBrokerConsumerEprs) {
removeBroker = new RemoveBroker();
BrokerConsumerReference brokerConsumerReference = new BrokerConsumerReference();
brokerConsumerReference.setReference(brokerConsumerEpr);
removeBroker.setBrokerConsumerReference(brokerConsumerReference);
if (neighborBrokerConsumerEprs != null) {
NeighborBrokerConsumers neighborBrokerConsumers = new NeighborBrokerConsumers();
neighborBrokerConsumers.setReferenceSequence(neighborBrokerConsumerEprs);
neighborBrokerConsumers.setSequenceType(Constants.BrokerConsumers);