if (_classOfService.guarantee().persistLocally())
tsOpenOptions.classOfService().guarantee().persistLocally(cos.guarantee().persistedLocally()); tsOpenOptions.classOfService().guarantee().persistenceFilePath(cos.guarantee().persistenceFilePath());
destCos.guarantee().persistLocally(guarantee().persistLocally());
tsOpenOpts.classOfService().flowControl().type(FlowControlTypes.BIDIRECTIONAL); tsOpenOpts.classOfService().guarantee().type(GuaranteeTypes.PERSISTENT_QUEUE); tsOpenOpts.classOfService().guarantee().persistLocally(persistLocally); tsOpenOpts.streamId(5); tsOpenOpts.serviceId(Provider.defaultService().serviceId());