이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 6. Advanced Queue Features
6.1. Browse-only Queues 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Queues declared "browse-only" allow subscribers to access them and acquire their messages normally, but message acquisition transparently results only in a browse. The message will remain on the queue, and accessible to other subscribers.
Messages can only be removed from a browse-only queue by some non-acquisition mechanism: for example, when the message's TTL (time-to-live) duration expires.
The
spout
and drain
programs are part of the client libraries package and when installed can be found at:
/usr/share/doc/python-qpid-${version}/examples/api/
/usr/share/doc/python-qpid-${version}/examples/api/
Here is an example of the creation and use of a browse-only queue by the spout and drain clients.