Problem with single axis data

Not able to get data from single axis, though there is no problem with multi axis data streaming.
here is the code, no error was thrown in execution
                            //Accelerometer & Gyro Routing//
accelModule.setOutputDataRate(ACC_FREQ);
accelModule.setAxisSamplingRange(ACC_RANGE);
gyroModule.configure()
.setOutputDataRate(OutputDataRate.ODR_50_HZ)
.setFullScaleRange(FullScaleRange.FSR_2000)
.commit();

AsyncOperation<RouteManager> routeManagerResultAccel = accelModule.routeData().fromXAxis()
.stream(STREAM_KEY).commit();

AsyncOperation<RouteManager> routeManagerResultGyro = gyroModule.routeData().fromXAxis().stream(GYRO_STREAM_KEY).commit();
routeManagerResultAccel.onComplete(new CompletionHandler<RouteManager>() {
@Override
public void success(RouteManager result) {
result.subscribe(STREAM_KEY, new RouteManager.MessageHandler() {
@Override
public void process(Message msg) {

Log.i(TAG, String.format("Accelerometer: %s,%s", msg.getData(Float.class), msg.getTimestampAsString()));

sensorMsg(String.format(msg.toString()), "accel");

myDb.insertData("Accel",msg.getData(Float.class).toString(),msg.getTimestampAsString(),spinnerItem.toString());
}
});
}
});

routeManagerResultGyro.onComplete(new CompletionHandler<RouteManager>() {
@Override
public void success(RouteManager result) {
result.subscribe(GYRO_STREAM_KEY, new RouteManager.MessageHandler() {
@Override
public void process(Message msg) {
Log.i(TAG, String.format("Gyroscope: %s, %s", msg.getData(Float.class), msg.getTimestampAsString()));
sensorMsg(String.format(msg.toString()), "gyro");

myDb.insertData("Gyro",msg.getData(Float.class).toString(),msg.getTimestampAsString(),spinnerItem.toString());
}
});
}
});
This discussion has been closed.