<!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>&nbsp;</DIV>
<DIV>suppose that i have a queue named "fruit" and i send some different 
messages to it like this</DIV>
<DIV>&nbsp;</DIV>
<DIV>basicPublish ("orange");</DIV>
<DIV>basicPublish ("banana");</DIV>
<DIV>&nbsp;</DIV>
<DIV>now the queue contains two messages, "orange" and "banana".</DIV>
<DIV>&nbsp;</DIV>
<DIV>now,i want to know is there an interface in rabbitmq like this for me to 
check whether my queue, fruit,&nbsp; contains a specific message or not </DIV>
<DIV>&nbsp;</DIV>
<DIV>queue_fruit.contains("banana");&nbsp; //return true</DIV>
<DIV>&nbsp;</DIV>
<DIV>queue_fruit.contains("orange");&nbsp; //return true</DIV>
<DIV>&nbsp;</DIV>
<DIV>queue_fruit.contains("apple");&nbsp; //return false</DIV>
<DIV>&nbsp;</DIV>
<DIV>if there not,how to get it?</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks a lot for you all</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV></DIV></SPAN></DIV></BODY></HTML>