Jennifer Lopez ''was in a great mood'' at the iHeartRadio Ultimate Pool Party in Miami at the weekend.

The 44-year-old singer only split up from her boyfriend Casper Smart earlier this month, but she didn't let the heartbreak affect her performance at the two-day festival as fans noticed she was glowing as she took to the stage.

A source told ''Jennifer was in a great mood and acted extremely nice and pleasant to media and fans.''

The 'On The Floor' hitmaker saw the trip as a chance to treat her six-year-old twins Max and Emme - who she has with her third ex-husband Marc Anthony - and her mother Guadalupe Rodriguez to a short vacation.

The source explained: ''Max and Emme enjoyed the pool and had a great time. Jennifer had sushi from Blade and loved it. Her mum enjoyed her show and danced to all of her music.''

Meanwhile, the brunette beauty has thrown herself into her work since splitting from Casper following two-and-a-half years together, but credits her family and friends for helping her to relax.

She said previously: ''I'm constantly busy working, so when I do get time off, I like to relax and spend time with my kids, my family, and my friends.''