QName name = new QName("testThrottleTimePeriod");
final ExchangeSink sink = new ExchangeSink();
final Service service = new MockService(name, new InOnlyService(), sink);
final ServiceReference reference = new ServiceReferenceImpl(name, new InOnlyService(), null, null);
// Set throttling to 1 per minute (60000 ms)
Throttling throttle = new Throttling().setMaxRequests(1).setTimePeriod(60 * 1000);
ServiceMetadataBuilder.update(reference.getServiceMetadata()).throttling(throttle);
final ExchangeDispatcher dispatch = _provider.createDispatcher(reference);
final int NUM_SENDS = 5;