final IConfiguration configuration = context.cloudlet.getConfiguration ();
final IConfiguration queueConfiguration = configuration.spliceConfiguration (ConfigurationIdentifier.resolveAbsolute ("queueqpt.consumer"));
final IConfiguration kvConfiguration = configuration.spliceConfiguration (ConfigurationIdentifier.resolveAbsolute ("storeqpt"));
final IConfiguration kvConfigurationString = configuration.spliceConfiguration (ConfigurationIdentifier.resolveAbsolute ("storestring"));
context.consumer = context.cloudlet.getConnectorFactory (IAmqpQueueConsumerConnectorFactory.class).create (queueConfiguration, QPT.class, JsonDataEncoder.create(QPT.class), new AmqpConsumerCallback (), context);
context.kvStore = context.cloudlet.getConnectorFactory (IKvStoreConnectorFactory.class).create (kvConfiguration, QPT.class, JsonDataEncoder.create(QPT.class), new KeyValueCallback (), context);
context.kvStoreString = context.cloudlet.getConnectorFactory (IKvStoreConnectorFactory.class).create (kvConfigurationString, String.class, PlainTextDataEncoder.create(), new KeyValueCallbackString (), context);
return CallbackCompletion.createAndChained (context.consumer.initialize (),context.kvStore.initialize(),context.kvStoreString.initialize());
}