I am a beginner when it comes to soloing, so I am looking for some advice

Let's say I am jamming to rhythm of notes E, A, and B in a blues-like shuffle. My problem is knowing WHAT to play. Do I play strictly in the E blues scale?
You can play only in the E blues or you can follow the changes playing appropriate scales with each chord.

If you're a beginniner to soloing then for now just stick to the E blues ideas throughout the whole progression, that'll help you get the idea of phrasing and such much more easily without having to shift your mentality to different scales as the chords change; even very advanced players often have a lot of trouble with that kind of thing.
R.I.P. My Signature. Lost to us in the great Signature Massacre of 2014.

Quote by Master Foo
“A man who mistakes secrets for knowledge is like a man who, seeking light, hugs a candle so closely that he smothers it and burns his hand.”

Well can't answer it no better than that...
Fender 70s Ri Strats w/various Dimarzios
Modded 1982 Marshall JCM800 2203

Boss DS-1,Dunlop Crybaby,MXR Phase 90,Ibanez AD9,Boss CH-1

Check out randy dobsons underground ,tell me what you think