ARTEMIS-3294 Fix testTextMessageAttributeLimits

This commit is contained in:
Domenico Francesco Bruscino 2021-05-19 23:18:06 +02:00 committed by clebertsuconic
parent e4f8d173a7
commit 9e9e279d42
1 changed files with 2 additions and 1 deletions

View File

@ -579,7 +579,8 @@ public class QueueControlTest extends ManagementTestBase {
final String twentyBytes = new String(new char[20]).replace("\0", "#"); final String twentyBytes = new String(new char[20]).replace("\0", "#");
ClientMessage clientMessage = createTextMessage(session, twentyBytes, true); ClientMessage clientMessage = session.createMessage(Message.TEXT_TYPE, durable);
clientMessage.getBodyBuffer().writeNullableSimpleString(SimpleString.toSimpleString(twentyBytes));
clientMessage.putStringProperty("x", twentyBytes); clientMessage.putStringProperty("x", twentyBytes);
QueueControl queueControl = createManagementControl(address, queue); QueueControl queueControl = createManagementControl(address, queue);