<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<META content="MSHTML 6.00.6000.17063" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri>Hi,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I'm run RabbitMQ Java client 2.1.1 examples
HelloJsonServer and HelloJsonClient. The RabbitMQ Server's version is
2.1.1.</FONT></DIV>
<DIV><FONT face=Calibri>My question is if HelloJsonServer program not
running, I start up HelloJsonClient first, the process will be
blocked.</FONT></DIV>
<DIV><FONT face=Calibri>Is there a way to set a timeout or exception, when
HelloJsonClient send the request and HelloJsonServer not exist the function will
throw an exception tell me JsonRpcClient waiting response time out or the
request server not exist?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>And another question is when the HelloJsonClient start
up first ( HelloJsonServer not exist at this time ), the process be
blocked, and then kill the HelloJsonClient process, run HelloJsonServer,
HelloJsonServer will handled a request message. Is there a way when
the JsonRpcClient process terminated, the in queue request messages
from that JsonRpcClient can automatic dropped by the broker?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Thanks.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Cui Gang</FONT></DIV></BODY></HTML>