Hi
Can sending an event gets blocked because something happened down at the
source of the other agent?
For example, consider the following taken from the developer guide.
public void myMethod(){
SomeDataObject data = getData()
Event event = EventBuilder.withBody(data);
// Send the event
try {
client.append(event);
} catch (EventDeliveryException e) {
// clean up and recreate the client
client.close();
client = null;
client = RpcClientFactory.getDefaultInstance(hostname, port);
}
}
if for some reason, the event has problem sending downstream, would it
block myMethod from returning ?
I know the catch block might catch the exception, but is it possible that
something else happens and the method just hangs and myMethod never returns
? Or is it multithreaded and does not block ?
thx,
Terrey