ARTEMIS-3294 Fix testTextMessageAttributeLimits
This commit is contained in:
parent
e4f8d173a7
commit
9e9e279d42
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue