Hi JitinDhillon ,
This component rotate actor. To setup rotation angular speed use Rotation Rate parameter.
Add to actor constructor:
// Setup mobility
SetMobility(EComponentMobility::Movable);
// Create movement component and set rotation rate
RotatingComoponent = ObjectInitializer.CreateDefaultSubobject<URotatingMovementComponent>(this, TEXT("RotatingComponent"));
RotatingComoponent->RotationRate = FRotator(0, 100, 0);
Feel free to post any additional questions here.
Hope it helps!