开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜