public interface JCSMPResponseListener
Modifier and Type | Method and Description |
---|---|
void |
handleError(Object key,
Exception cause)
This method is invoked whenever a subscription operation fails.
|
void |
handleSuccess(Object key)
This method is invoked whenever an OK subscription response is received.
|
void handleSuccess(Object key)
key
- The correlation key of the confirmed subscription operation.void handleError(Object key, Exception cause)
JCSMPErrorResponseException
. The following subcodes can be
present to provide further information about why the subscription operation
was rejected:
key
- The correlation key of the subscription operation with which the
error condition is associated.cause
- The error condition.Copyright 2004-2024 Solace Corporation. All rights reserved.