I would advise against using STOMP as it requires a framework to be embedded in your code. Frameworks come and go, and need to be updated.
You can use a Spring (boot) WebSocket channel to pass JSON without ever using STOMP. If you are talking with a front end application (e.g. JavaScript) the JSON is already your "model" data that can easily be passed/parsed bidirectionally.
The WebSocket API contains enough to be able to onConnect(), onMessage(), onError() your implementation. Actually I prefer this, because I am in control. For instance in the onConnect, you can validate tokens and customize security.