<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
        FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000000; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>hi ,all</DIV>
<DIV> </DIV>
<DIV>suppose that i have a queue named "fruit" and i send some different
messages to it like this</DIV>
<DIV> </DIV>
<DIV>basicPublish ("orange");</DIV>
<DIV>basicPublish ("banana");</DIV>
<DIV> </DIV>
<DIV>now the queue contains two messages, "orange" and "banana".</DIV>
<DIV> </DIV>
<DIV>now,i want to know is there an interface in rabbitmq like this for me to
check whether my queue, fruit, contains a specific message or not </DIV>
<DIV> </DIV>
<DIV>queue_fruit.contains("banana"); //return true</DIV>
<DIV> </DIV>
<DIV>queue_fruit.contains("orange"); //return true</DIV>
<DIV> </DIV>
<DIV>queue_fruit.contains("apple"); //return false</DIV>
<DIV> </DIV>
<DIV>if there not,how to get it?</DIV>
<DIV> </DIV>
<DIV>thanks a lot for you all</DIV>
<DIV> </DIV>
<HR style="HEIGHT: 1px; WIDTH: 210px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; MARGIN: 10px">
<DIV>叶邦宇,福建人,热爱篮球和游泳,研究三国史</DIV>
<DIV>喜欢看书,说笑话,调侃,以及听音乐</DIV>
<DIV>有轻微强迫症,有一颗善良的心,喜欢就事论事</DIV>
<DIV>极度挑食,几乎不吃零食,很少吃水果</DIV>
<DIV> </DIV></DIV></SPAN></DIV></BODY></HTML>