event-mesh-client-java-samples icon indicating copy to clipboard operation
event-mesh-client-java-samples copied to clipboard

Add @JmsListener example

Open jordao76 opened this issue 2 years ago • 0 comments

In the event consumer samples, there's a comment mentioning "Blocking call. You can either define a timeout or use a message listener".

It would be more realistic to use a message listener, since that would be the ideal way to consume messages in a production application. In Spring, using the @JmsListener annotation would be ideal.

jordao76 avatar Mar 28 '23 16:03 jordao76