org.apache.qpid.test.framework
Interface DropInTest
public interface DropInTest
A DropIn test is a test case that can accept late joining test clients into a running test. This can be usefull,
for interactive experimentation.
CRC Card
Responsibilities
|
---|
Accept late joining test clients.
|
Method Summary |
void |
lateJoin(Message message)
Should accept a late joining client into a running test case. |
lateJoin
void lateJoin(Message message)
throws JMSException
- Should accept a late joining client into a running test case. The client will be enlisted with a control message
with the 'CONTROL_TYPE' field set to the value 'LATEJOIN'. It should also provide values for the fields:
CLIENT_NAME | A unique name for the new client.
|
CLIENT_PRIVATE_CONTROL_KEY | The key for the route on which the client receives its control messages.
|
- Parameters:
message
- The late joiners join message.
- Throws:
JMSException
- Any JMS Exception are allowed to fall through, indicating that the join failed.
Licensed to the Apache Software Foundation