When he met someone else in Boston, he pretty much had a license to move on with his life since your getting back together was conditional on being together only for the weeks before he left for his four month trip. If you hadn’t agreed to stay together until he left for Europe and had made it a clean break, it wouldn’t have hurt so much, because he wouldn’t have betrayed you, but it would still have hurt because he moved on so quickly after your break up.
Break ups are painful, it’s always good to see someone’s true colors because you can conduct your own life accordingly. Would you really be able to trust him if he came back to you now, for the few weeks before he goes away for the summer? I think not.
Focus on your own summer plans and yourself. Breaking up is hard to do, but when one door closes another opens — and I bet in your case more than one door will open since you’re newly single. For now, don’t try to be friends with your ex-boyfriend. Let the healing begin, move on, and see how you feel about a friendship with him after six months or so.