Codota Logo
ConnectionFactoryUtils.isChannelTransactional
Code IndexAdd Codota to your IDE (free)

How to use
isChannelTransactional
method
in
org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils

Best Java code snippets using org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.isChannelTransactional (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: spring-projects/spring-amqp

/**
 * Check whether the given Channel is locally transacted, that is, whether its transaction is managed by this
 * template's Channel handling and not by an external transaction coordinator.
 * @param channel the Channel to check
 * @return whether the given Channel is locally transacted
 * @see ConnectionFactoryUtils#isChannelTransactional
 * @see #isChannelTransacted
 */
protected boolean isChannelLocallyTransacted(Channel channel) {
  return isChannelTransacted() && !ConnectionFactoryUtils.isChannelTransactional(channel, getConnectionFactory());
}
origin: org.springframework.amqp/spring-rabbit

/**
 * Check whether the given Channel is locally transacted, that is, whether its transaction is managed by this
 * template's Channel handling and not by an external transaction coordinator.
 * @param channel the Channel to check
 * @return whether the given Channel is locally transacted
 * @see ConnectionFactoryUtils#isChannelTransactional
 * @see #isChannelTransacted
 */
protected boolean isChannelLocallyTransacted(Channel channel) {
  return isChannelTransacted() && !ConnectionFactoryUtils.isChannelTransactional(channel, getConnectionFactory());
}
org.springframework.amqp.rabbit.connectionConnectionFactoryUtilsisChannelTransactional

Javadoc

Determine whether the given RabbitMQ Channel is transactional, that is, bound to the current thread by Spring's transaction facilities.

Popular methods of ConnectionFactoryUtils

  • bindResourceToTransaction
  • getTransactionalResourceHolder
    Obtain a RabbitMQ Channel that is synchronized with the current transaction, if any.
  • createConnection
    Create a connection with this connection factory and/or its publisher factory.
  • doGetTransactionalResourceHolder
    Obtain a RabbitMQ Channel that is synchronized with the current transaction, if any.
  • registerDeliveryTag
  • releaseResources

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • onCreateOptionsMenu (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JFrame (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now