public interface ErrorCallback<T>
MessageBuilder
API.
Errors can also be handled globally by subscribing a regular to the bus topic DefaultErrorCallback.CLIENT_ERROR_SUBJECT.
boolean error(T message, Throwable throwable)
message
- The message or request for which the failure occurred.throwable
- The exception thrown or null if not availableCopyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.