Uses of Interface
org.apache.activemq.artemis.api.core.client.ClientSession
Packages that use ClientSession
Package
Description
-
Uses of ClientSession in org.apache.activemq.artemis.api.core.client
Methods in org.apache.activemq.artemis.api.core.client that return ClientSessionModifier and TypeMethodDescriptionClientSessionFactory.createSession()Creates a non-transacted session.ClientSessionFactory.createSession(boolean autoCommitSends, boolean autoCommitAcks) Creates a session.ClientSessionFactory.createSession(boolean xa, boolean autoCommitSends, boolean autoCommitAcks) Creates a session.ClientSessionFactory.createSession(boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge) Creates a session.ClientSessionFactory.createSession(boolean autoCommitSends, boolean autoCommitAcks, int ackBatchSize) Creates a session.ClientSessionFactory.createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize) Creates an authenticated session.ClientSessionFactory.createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize, String clientID) Creates an authenticated session.ClientSessionFactory.createTransactedSession()Creates a transacted session.ClientSessionFactory.createXASession()Creates a session with XA transaction semantics.ClientSession.setSendAcknowledgementHandler(SendAcknowledgementHandler handler) Sets aSendAcknowledgementHandlerfor this session.ClientSession.start()Starts the session.Constructors in org.apache.activemq.artemis.api.core.client with parameters of type ClientSessionModifierConstructorDescriptionClientRequestor(ClientSession session, String requestAddress) ClientRequestor(ClientSession session, SimpleString requestAddress) Constructor for the ClientRequestor. -
Uses of ClientSession in org.apache.activemq.artemis.api.core.management
Methods in org.apache.activemq.artemis.api.core.management with parameters of type ClientSessionModifier and TypeMethodDescriptionstatic voidManagementHelper.doManagement(ClientSession session, ManagementHelper.MessageAcceptor setup, ManagementHelper.MessageAcceptor ok, ManagementHelper.MessageAcceptor failed) Utility function to reuse a ClientSessionConnection and perform a single management operation via core.Constructors in org.apache.activemq.artemis.api.core.management with parameters of type ClientSession -
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 ClientSessionModifier and TypeMethodDescriptionvoidXmlDataImporter.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 ClientSessionModifierConstructorDescriptionXMLMessageImporter(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.implClasses in org.apache.activemq.artemis.core.client.impl that implement ClientSessionMethods in org.apache.activemq.artemis.core.client.impl that return ClientSessionModifier and TypeMethodDescriptionClientSessionFactoryImpl.createSession()ClientSessionFactoryImpl.createSession(boolean autoCommitSends, boolean autoCommitAcks) ClientSessionFactoryImpl.createSession(boolean xa, boolean autoCommitSends, boolean autoCommitAcks) ClientSessionFactoryImpl.createSession(boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge) ClientSessionFactoryImpl.createSession(boolean autoCommitSends, boolean autoCommitAcks, int ackBatchSize) ClientSessionFactoryImpl.createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize) ClientSessionFactoryImpl.createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize, String clientID) ClientSessionFactoryImpl.createTransactedSession()ClientSessionFactoryImpl.createXASession() -
Uses of ClientSession in org.apache.activemq.artemis.core.server.federation
Methods in org.apache.activemq.artemis.core.server.federation that return ClientSessionModifier and TypeMethodDescriptionFederatedQueueConsumer.getClientSession()FederatedQueueConsumerImpl.getClientSession()Methods in org.apache.activemq.artemis.core.server.federation with parameters of type ClientSessionModifier and TypeMethodDescriptionvoidFederatedQueueConsumerImpl.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 ClientSessionModifier and TypeMethodDescriptionlongScaleDownHandler.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 ClientSessionModifier and TypeMethodDescriptionActiveMQSession.getCoreSession()ActiveMQConnection.getInitialSession()Methods in org.apache.activemq.artemis.jms.client with parameters of type ClientSessionModifier and TypeMethodDescriptionprotected 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 ClientSessionModifierConstructorDescriptionActiveMQBytesMessage(BytesMessage foreign, ClientSession session) Foreign message constructorprotectedActiveMQBytesMessage(ClientMessage message, ClientSession session) Constructor on receipt at client sideprotectedActiveMQBytesMessage(ClientSession session) This constructor is used to construct messages prior to sendingActiveMQMapMessage(MapMessage foreign, ClientSession session) Constructor for a foreign MapMessageprotectedActiveMQMapMessage(ClientMessage message, ClientSession session) This constructor is used during readingprotectedActiveMQMapMessage(ClientSession session) This constructor is used to construct messages prior to sendingprotectedActiveMQMessage(byte type, ClientSession session) Create a new message prior to sendingprotectedActiveMQMessage(Message foreign, byte type, ClientSession session) ActiveMQMessage(Message foreign, ClientSession session) A constructor that takes a foreign messageActiveMQMessage(ClientMessage message, ClientSession session) Constructor for when receiving a message from the serverprotectedActiveMQMessage(ClientSession session) ActiveMQObjectMessage(ObjectMessage foreign, ClientSession session, ConnectionFactoryOptions options) A copy constructor for foreign JMS ObjectMessages.protectedActiveMQObjectMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options) protectedActiveMQObjectMessage(ClientSession session, ConnectionFactoryOptions options) protectedActiveMQQueueBrowser(ConnectionFactoryOptions options, ActiveMQQueue queue, String messageSelector, ClientSession session, boolean enable1xPrefixes) protectedActiveMQSession(ConnectionFactoryOptions options, ActiveMQConnection connection, boolean transacted, boolean xa, int ackMode, boolean cacheDestination, boolean enable1xPrefixes, ClientSession session, int sessionType) ActiveMQStreamMessage(StreamMessage foreign, ClientSession session) protectedActiveMQStreamMessage(ClientMessage message, ClientSession session) protectedActiveMQStreamMessage(ClientSession session) ActiveMQTextMessage(TextMessage foreign, ClientSession session) A copy constructor for non-ActiveMQ Artemis JMS TextMessages.ActiveMQTextMessage(ClientMessage message, ClientSession session) ActiveMQTextMessage(ClientSession session) protectedActiveMQXASession(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 ClientSessionModifier and TypeMethodDescriptionstatic ActiveMQMessageActiveMQCompatibleMessage.createMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options) Constructors in org.apache.activemq.artemis.jms.client.compatible1X with parameters of type ClientSessionModifierConstructorDescriptionActiveMQBytesCompatibleMessage(BytesMessage foreign, ClientSession session) protectedActiveMQBytesCompatibleMessage(ClientMessage message, ClientSession session) ActiveMQCompatibleMessage(byte type, ClientSession session) ActiveMQCompatibleMessage(Message foreign, byte type, ClientSession session) ActiveMQCompatibleMessage(Message foreign, ClientSession session) ActiveMQCompatibleMessage(ClientMessage message, ClientSession session) ActiveMQCompatibleMessage(ClientSession session) ActiveMQMapCompatibleMessage(MapMessage foreign, ClientSession session) ActiveMQMapCompatibleMessage(ClientMessage message, ClientSession session) ActiveMQObjectCompatibleMessage(ObjectMessage foreign, ClientSession session, ConnectionFactoryOptions options) ActiveMQObjectCompatibleMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options) ActiveMQObjectCompatibleMessage(ClientSession session, ConnectionFactoryOptions options) ActiveMQStreamCompatibleMessage(StreamMessage foreign, ClientSession session) ActiveMQStreamCompatibleMessage(ClientMessage message, ClientSession session) ActiveMQTextCompatibleMessage(TextMessage foreign, ClientSession session) ActiveMQTextCompatibleMessage(ClientMessage message, ClientSession session) -
Uses of ClientSession in org.apache.activemq.artemis.ra
Methods in org.apache.activemq.artemis.ra that return ClientSessionModifier and TypeMethodDescriptionActiveMQResourceAdapter.createSession(ClientSessionFactory parameterFactory, int ackMode, String user, String pass, Boolean preAck, Integer dupsOkBatchSize, Integer transactionBatchSize, boolean deliveryTransacted, boolean useLocalTx, Integer txTimeout) -
Uses of ClientSession in org.apache.activemq.artemis.ra.inflow
Methods in org.apache.activemq.artemis.ra.inflow that return ClientSessionModifier and TypeMethodDescriptionprotected ClientSessionActiveMQActivation.setupSession(ClientSessionFactory cf) Setup a session -
Uses of ClientSession in org.apache.activemq.artemis.utils
Methods in org.apache.activemq.artemis.utils with parameters of type ClientSessionModifier and TypeMethodDescriptionstatic voidAutoCreateUtil.autoCreateQueue(ClientSession session, SimpleString destAddress, SimpleString selectorString) static SimpleStringAutoCreateUtil.getCoreQueueName(ClientSession session, SimpleString destAddress)