final TimesyncExtension extension = new TimesyncExtension();
extension.setAccuracyTarget(0);
bayeux.addExtension(extension);
final BayeuxClient client = newBayeuxClient();
client.addExtension(new TimesyncClientExtension());
final Queue<Message> messages = new ConcurrentLinkedQueue<>();
client.getChannel("/meta/*").addListener(new ClientSessionChannel.MessageListener()
{
public void onMessage(ClientSessionChannel channel, Message message)