This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 1de617e503 NO-JIRA: fix docs locator.createClientSessionFactory should
be locator.createSessionFactory
1de617e503 is described below
commit 1de617e5036cd1698544ca46c235095d7a1c6fb0
Author: coursar <[email protected]>
AuthorDate: Wed May 15 22:10:11 2024 +0300
NO-JIRA: fix docs locator.createClientSessionFactory should be
locator.createSessionFactory
---
docs/user-manual/configuring-transports.adoc | 2 +-
docs/user-manual/connection-ttl.adoc | 2 +-
docs/user-manual/core.adoc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/user-manual/configuring-transports.adoc
b/docs/user-manual/configuring-transports.adoc
index 196cdde0cc..3547d4c126 100644
--- a/docs/user-manual/configuring-transports.adoc
+++ b/docs/user-manual/configuring-transports.adoc
@@ -71,7 +71,7 @@ Here's an example of creating a `ClientSessionFactory` which
will connect direct
----
ServerLocator locator =
ActiveMQClient.createServerLocator("tcp://localhost:61617");
-ClientSessionFactory sessionFactory = locator.createClientSessionFactory();
+ClientSessionFactory sessionFactory = locator.createSessionFactory();
ClientSession session = sessionFactory.createSession(...);
----
diff --git a/docs/user-manual/connection-ttl.adoc
b/docs/user-manual/connection-ttl.adoc
index bc04cd4cd4..16b5c72ba2 100644
--- a/docs/user-manual/connection-ttl.adoc
+++ b/docs/user-manual/connection-ttl.adoc
@@ -19,7 +19,7 @@ ClientSession session = null;
try {
locator = ActiveMQClient.createServerLocatorWithoutHA(..);
- sf = locator.createClientSessionFactory();
+ sf = locator.createSessionFactory();
session = sf.createSession(...);
diff --git a/docs/user-manual/core.adoc b/docs/user-manual/core.adoc
index 0362c87465..b0ff048e14 100644
--- a/docs/user-manual/core.adoc
+++ b/docs/user-manual/core.adoc
@@ -121,7 +121,7 @@ ServerLocator locator =
ActiveMQClient.createServerLocator("vm://0");
// In this simple example, we just use one session for both producing and
receiving
-ClientSessionFactory factory = locator.createClientSessionFactory();
+ClientSessionFactory factory = locator.createSessionFactory();
ClientSession session = factory.createSession();
// A producer is associated with an address ...