Created
August 11, 2014 17:02
-
-
Save clebertsuconic/57fd9c392984bdaf88f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void returnBlocking(Exception cause) | |
{ | |
lock.lock(); | |
try | |
{ | |
HornetQException ex = HornetQClientMessageBundle.BUNDLE.unblockingACall(); | |
ex.initCause(cause); | |
response = new HornetQExceptionMessage(ex); | |
sendCondition.signal(); | |
} | |
finally | |
{ | |
lock.unlock(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment