Did Jesus believe himself to be the messiah or other eschatological figure or he is simply a preacher who thought that the messiah will come soon?

So historically did Jesus claim that he was the Messiah or other eschatolgical figure or he was a preacher who thought that the kingdom of God will come soon but his resurrection made his apostles think that he was the awaited Messiah?