{
MessageDestination msgDest;
msgDest = (MessageDestination)messageService.createDestination(id);
// <network>
NetworkSettings ns = new NetworkSettings();
ns.setSubscriptionTimeoutMinutes(0);
// add clusterId and sharedBackend for code coverage
ns.setClusterId("default-tcp-cluster");
ns.setSharedBackend(true);
ThrottleSettings ts = new ThrottleSettings();
ts.setIncomingClientFrequency(0);
ts.setInboundPolicy(ThrottleSettings.Policy.ERROR);
ts.setOutgoingClientFrequency(0);
ts.setOutboundPolicy(ThrottleSettings.Policy.IGNORE);
ns.setThrottleSettings(ts);
msgDest.setNetworkSettings(ns);
// <server>
ServerSettings ss = new ServerSettings();
ss.setDurable(false);