There is an obvious correlation between the music and its composer but there are severe limits. First of all, the quality of the music depends almost entirely on how much the composer has thought about his work and how experienced he is or is not. And a person's personality does determine what style he enjoys, how easily satisfied he becomes with his work etc etc.. but I don't believe it happens the way you put it, as in: an exciting person writes exciting music, a boring person writes boring music. Excitement and boredom in music depends on the composer's intention, yes, but also on his ability to follow through that intention (which takes years to nurture). The other problem with this is that there is no absolute of what exciting music is or should be. Aesthetics varies by time, place, and person.
What I'm also implying is that I don't believe in the romantic notion of the composer - the musician who lets his feelings run wild and these produce art. I think that's bs. The composer is both an artist and a craftsman and the division between the two is really superficial and academic.