diff --git a/docs/user-manual/en/using-core.xml b/docs/user-manual/en/using-core.xml index 38f3d3ab412..e701eb053a6 100644 --- a/docs/user-manual/en/using-core.xml +++ b/docs/user-manual/en/using-core.xml @@ -202,7 +202,8 @@ message.getBodyBuffer().writeString("Hello"); // We need a queue attached to the address ... -session.createQueue("example", "example", true); +boolean durable = true; +session.createQueue("example", "example", durable); // And a consumer attached to the queue ...