<!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>