event-mesh-client-java-samples
event-mesh-client-java-samples copied to clipboard
Add @JmsListener example
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.