Uses of Interface
org.apache.activemq.artemis.api.core.client.ClientSession
-
-
Uses of ClientSession in org.apache.activemq.artemis.api.core.client
Methods in org.apache.activemq.artemis.api.core.client that return ClientSession Modifier and Type Method Description ClientSessionClientSessionFactory. createSession()Creates a non-transacted session.ClientSessionClientSessionFactory. createSession(boolean autoCommitSends, boolean autoCommitAcks)Creates a session.ClientSessionClientSessionFactory. createSession(boolean xa, boolean autoCommitSends, boolean autoCommitAcks)Creates a session.ClientSessionClientSessionFactory. createSession(boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge)Creates a session.ClientSessionClientSessionFactory. createSession(boolean autoCommitSends, boolean autoCommitAcks, int ackBatchSize)Creates a session.ClientSessionClientSessionFactory. createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize)Creates an authenticated session.ClientSessionClientSessionFactory. createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize, String clientID)Creates an authenticated session.ClientSessionClientSessionFactory. createTransactedSession()Creates a transacted session.ClientSessionClientSessionFactory. createXASession()Creates a session with XA transaction semantics.ClientSessionClientSession. setSendAcknowledgementHandler(SendAcknowledgementHandler handler)Sets aSendAcknowledgementHandlerfor this session.ClientSessionClientSession. start()Starts the session.Constructors in org.apache.activemq.artemis.api.core.client with parameters of type ClientSession Constructor Description ClientRequestor(ClientSession session, String requestAddress)ClientRequestor(ClientSession session, SimpleString requestAddress)Constructor for the ClientRequestor. -
Uses of ClientSession in org.apache.activemq.artemis.api.core.management
Constructors in org.apache.activemq.artemis.api.core.management with parameters of type ClientSession Constructor Description ActiveMQManagementProxy(ClientSession session) -
Uses of ClientSession in org.apache.activemq.artemis.cli.commands.tools.xml
Methods in org.apache.activemq.artemis.cli.commands.tools.xml with parameters of type ClientSession Modifier and Type Method Description voidXmlDataImporter. process(InputStream inputStream, ClientSession session)This is the normal constructor for programmatic access to theorg.apache.activemq.artemis.core.persistence.impl.journal.XmlDataImporterif the session passed in uses auto-commit for sends.voidXmlDataImporter. process(InputStream inputStream, ClientSession session, ClientSession managementSession)This is the constructor to use if you wish to import all messages transactionally.Constructors in org.apache.activemq.artemis.cli.commands.tools.xml with parameters of type ClientSession Constructor Description XMLMessageImporter(XMLStreamReader xmlStreamReader, ClientSession session) -
Uses of ClientSession in org.apache.activemq.artemis.core.client.impl
Subinterfaces of ClientSession in org.apache.activemq.artemis.core.client.impl Modifier and Type Interface Description interfaceClientSessionInternalClasses in org.apache.activemq.artemis.core.client.impl that implement ClientSession Modifier and Type Class Description classClientSessionImplMethods in org.apache.activemq.artemis.core.client.impl that return ClientSession Modifier and Type Method Description ClientSessionClientSessionFactoryImpl. createSession()ClientSessionClientSessionFactoryImpl. createSession(boolean autoCommitSends, boolean autoCommitAcks)ClientSessionClientSessionFactoryImpl. createSession(boolean xa, boolean autoCommitSends, boolean autoCommitAcks)ClientSessionClientSessionFactoryImpl. createSession(boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge)ClientSessionClientSessionFactoryImpl. createSession(boolean autoCommitSends, boolean autoCommitAcks, int ackBatchSize)ClientSessionClientSessionFactoryImpl. createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize)ClientSessionClientSessionFactoryImpl. createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize, String clientID)ClientSessionClientSessionFactoryImpl. createTransactedSession()ClientSessionClientSessionFactoryImpl. createXASession() -
Uses of ClientSession in org.apache.activemq.artemis.core.server.federation
Methods in org.apache.activemq.artemis.core.server.federation that return ClientSession Modifier and Type Method Description ClientSessionFederatedQueueConsumer. getClientSession()ClientSessionFederatedQueueConsumerImpl. getClientSession()Methods in org.apache.activemq.artemis.core.server.federation with parameters of type ClientSession Modifier and Type Method Description voidFederatedQueueConsumerImpl.ClientSessionCallback. callback(ClientSession clientSession) -
Uses of ClientSession in org.apache.activemq.artemis.core.server.impl
Methods in org.apache.activemq.artemis.core.server.impl with parameters of type ClientSession Modifier and Type Method Description longScaleDownHandler. scaleDownRegularMessages(SimpleString address, Set<Queue> queues, ClientSession clientSession, ClientProducer producer) -
Uses of ClientSession in org.apache.activemq.artemis.jms.client
Methods in org.apache.activemq.artemis.jms.client that return ClientSession Modifier and Type Method Description ClientSessionActiveMQSession. getCoreSession()ClientSessionActiveMQConnection. getInitialSession()Methods in org.apache.activemq.artemis.jms.client with parameters of type ClientSession Modifier and Type Method Description protected ActiveMQSessionActiveMQConnection. createAMQSession(boolean isXA, boolean transacted, int acknowledgeMode, ClientSession session, int type)static ActiveMQMessageActiveMQMessage. createMessage(ClientMessage message, ClientSession session)static ActiveMQMessageActiveMQMessage. createMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options)Constructors in org.apache.activemq.artemis.jms.client with parameters of type ClientSession Constructor Description ActiveMQBytesMessage(BytesMessage foreign, ClientSession session)Foreign message constructorActiveMQBytesMessage(ClientMessage message, ClientSession session)Constructor on receipt at client sideActiveMQBytesMessage(ClientSession session)This constructor is used to construct messages prior to sendingActiveMQMapMessage(MapMessage foreign, ClientSession session)Constructor for a foreign MapMessageActiveMQMapMessage(ClientMessage message, ClientSession session)ActiveMQMapMessage(ClientSession session)ActiveMQMessage(byte type, ClientSession session)ActiveMQMessage(Message foreign, byte type, ClientSession session)ActiveMQMessage(Message foreign, ClientSession session)ActiveMQMessage(ClientMessage message, ClientSession session)Constructor for when receiving a message from the serverActiveMQMessage(ClientSession session)ActiveMQObjectMessage(ObjectMessage foreign, ClientSession session, ConnectionFactoryOptions options)A copy constructor for foreign JMS ObjectMessages.ActiveMQObjectMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options)ActiveMQObjectMessage(ClientSession session, ConnectionFactoryOptions options)ActiveMQQueueBrowser(ConnectionFactoryOptions options, ActiveMQQueue queue, String messageSelector, ClientSession session, boolean enable1xPrefixes)ActiveMQSession(ConnectionFactoryOptions options, ActiveMQConnection connection, boolean transacted, boolean xa, int ackMode, boolean cacheDestination, boolean enable1xPrefixes, ClientSession session, int sessionType)ActiveMQStreamMessage(StreamMessage foreign, ClientSession session)ActiveMQStreamMessage(ClientMessage message, ClientSession session)ActiveMQStreamMessage(ClientSession session)ActiveMQTextMessage(TextMessage foreign, ClientSession session)A copy constructor for non-ActiveMQ Artemis JMS TextMessages.ActiveMQTextMessage(ClientMessage message, ClientSession session)ActiveMQTextMessage(ClientSession session)ActiveMQXASession(ConnectionFactoryOptions options, ActiveMQConnection connection, boolean transacted, boolean xa, int ackMode, boolean cacheDestinations, boolean enable1xNaming, ClientSession session, int sessionType) -
Uses of ClientSession in org.apache.activemq.artemis.jms.client.compatible1X
Methods in org.apache.activemq.artemis.jms.client.compatible1X with parameters of type ClientSession Modifier and Type Method Description static ActiveMQMessageActiveMQCompatibleMessage. createMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options) -
Uses of ClientSession in org.apache.activemq.artemis.utils
Methods in org.apache.activemq.artemis.utils with parameters of type ClientSession Modifier and Type Method Description static voidAutoCreateUtil. autoCreateQueue(ClientSession session, SimpleString destAddress, SimpleString selectorString)static SimpleStringAutoCreateUtil. getCoreQueueName(ClientSession session, SimpleString destAddress)
-