My boyfriend broke up with me after 9 months

i had recently said to my boyfriend that i was getting kind of bored, two days later he saw messages of me talking to another guy. this guy was completely random, he just messaged me on instagram and said whenre you coming to visit me at school, i literally only answered because i was bored, i said never i live in ny  come to ny, he said im playing ball there in a month come watch and i said thats like two hours from me, he said something else and i never answered then i deleted the conversation because i knew i shouldnt of had it (i didnt really think anything of it because i knew this guy lived far and id never actually meet up with him, which was wrong of me because i shouldnt of had the conversation period but anyways. the night after i asked my ex to talk in person and he said he thought it was a good idea for closure, but i didnt want that, i wanted to get back together. i ended up balling my eyes out and begging for him back for like three hours. (terrible i know) he said i was getting bored and the messages, he just felt like i was going to cheat and he didnt want to end like that. (id never cheat) he basically said wed never get back together. its been five days since that and i asked him to meet up thursday which he agreed to. i wanted to give him a genuine apology but i also wanted to bring up getting back together somehow. i also figured that because i begged his the other day and he had to go through that, that if he was really over it he wouldnt of agreed to meet up with me. im also assuming he has to kind of know that i want to meet up has something to do with me wanting to get back together right? i just want someones opinion on the whole thing.