Having a service called with STOMP which accepts more than one parameter

Viewed 941

I'm giving the Spring's STOMP+WebSocket implementation a try and I wonder if it's possible to call a service (at server) which takes in more than one parameter?

I get it that I can encapsulate a number of parameters into one class and then define a service taking in an object of that class. But that's not what I'm looking for. I want to be able to call one service through REST and STOMP at the same time. And since REST services are all about multiple parameter methods, I wonder how can I call them through STOMP!?

1 Answers
Related