Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BZ997782 - Calling message.clearBody() on large message after failover t... #1733

Merged
merged 1 commit into from Jul 22, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -413,7 +413,16 @@ public void clearBody() throws JMSException
{
super.clearBody();

getBuffer().clear();
try
{
getBuffer().clear();
}
catch (RuntimeException e)
{
JMSException e2 = new JMSException(e.getMessage());
e2.initCause(e);
throw e2;
}
}

public long getBodyLength() throws JMSException
Expand Down