Spring JMS consumer pull
I need to implemt a pulling consumer. Most of the examples I see are the producer pushing a message to the consumer; Assuming consumer is always up. I want the producer to push messages to a queue and the consumer to consume those messages on its own schedule. My consumer has a off hours calender and cannot process requests d开发者_如何学编程uring off hours.
How would I configure that in spring.
TIA
Raghu
Use message driven POJOs and JMS.
The onMessage is a server push, The message is processed as soon as it is delivered to the client. I want the client to decide when it wants to pull the message and process it.
精彩评论