File bundleFile = new File (bundleFilePath);
// Connect a client to the cluster
ClientConfig clientConfig = new ClientConfig() ;
clientConfig.addInetSocketAddress(instance.getCluster().getLocalMember().getInetSocketAddress());
HazelcastClient client = HazelcastClient.newHazelcastClient(clientConfig);
// Get a reference on the remote routes
IQueue<ProvisionRouteTask> provisionRouteQueue = client.getQueue("bundles-to-deploy");
assertEquals(0, provisionRouteQueue.size());
IQueue<ProvisionRouteResult> provisionRouteResultQueue = client.getQueue("deployment-result");
assertEquals(0, provisionRouteResultQueue.size());
// Send the bundle to be deployed to the Gateway/s
long provisionRouteTaskId = System.nanoTime();
byte[] serializedBundle = BundleTools.file2ByteArray(bundleFile);