Tabnine Logo
Broker.rollbackTransaction
Code IndexAdd Tabnine to your IDE (free)

How to use
rollbackTransaction
method
in
org.apache.activemq.broker.Broker

Best Java code snippets using org.apache.activemq.broker.Broker.rollbackTransaction (Showing top 16 results out of 315)

origin: apache/activemq

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  next.rollbackTransaction(context, xid);
  Broker brokers[] = getListeners();
  for (int i = 0; i < brokers.length; i++) {
    brokers[i].rollbackTransaction(context, xid);
  }
}
origin: apache/activemq

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  getNext().rollbackTransaction(context, xid);
}
origin: apache/activemq

@Override
public Response processRollbackTransaction(TransactionInfo info) throws Exception {
  TransportConnectionState cs = lookupConnectionState(info.getConnectionId());
  context = cs.getContext();
  cs.removeTransactionState(info.getTransactionId());
  broker.rollbackTransaction(context, info.getTransactionId());
  return null;
}
origin: pierre/meteo

public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  next.rollbackTransaction(context, xid);
}
origin: org.apache.activemq/activemq-broker

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  next.rollbackTransaction(context, xid);
  Broker brokers[] = getListeners();
  for (int i = 0; i < brokers.length; i++) {
    brokers[i].rollbackTransaction(context, xid);
  }
}
origin: org.apache.activemq/activemq-all

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  next.rollbackTransaction(context, xid);
  Broker brokers[] = getListeners();
  for (int i = 0; i < brokers.length; i++) {
    brokers[i].rollbackTransaction(context, xid);
  }
}
origin: pierre/meteo

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  next.rollbackTransaction(context, xid);
  Broker brokers[] = getListeners();
  for (int i = 0; i < brokers.length; i++) {
    brokers[i].rollbackTransaction(context, xid);
  }
}
origin: org.apache.activemq/activemq-osgi

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  next.rollbackTransaction(context, xid);
  Broker brokers[] = getListeners();
  for (int i = 0; i < brokers.length; i++) {
    brokers[i].rollbackTransaction(context, xid);
  }
}
origin: org.apache.activemq/activemq-broker

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  getNext().rollbackTransaction(context, xid);
}
origin: org.apache.activemq/activemq-osgi

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  getNext().rollbackTransaction(context, xid);
}
origin: org.apache.activemq/activemq-all

@Override
public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  getNext().rollbackTransaction(context, xid);
}
origin: pierre/meteo

public void rollbackTransaction(ConnectionContext context, TransactionId xid) throws Exception {
  getNext().rollbackTransaction(context, xid);
}
origin: org.apache.activemq/activemq-all

@Override
public Response processRollbackTransaction(TransactionInfo info) throws Exception {
  TransportConnectionState cs = lookupConnectionState(info.getConnectionId());
  context = cs.getContext();
  cs.removeTransactionState(info.getTransactionId());
  broker.rollbackTransaction(context, info.getTransactionId());
  return null;
}
origin: org.apache.activemq/activemq-broker

@Override
public Response processRollbackTransaction(TransactionInfo info) throws Exception {
  TransportConnectionState cs = lookupConnectionState(info.getConnectionId());
  context = cs.getContext();
  cs.removeTransactionState(info.getTransactionId());
  broker.rollbackTransaction(context, info.getTransactionId());
  return null;
}
origin: org.apache.activemq/activemq-osgi

@Override
public Response processRollbackTransaction(TransactionInfo info) throws Exception {
  TransportConnectionState cs = lookupConnectionState(info.getConnectionId());
  context = cs.getContext();
  cs.removeTransactionState(info.getTransactionId());
  broker.rollbackTransaction(context, info.getTransactionId());
  return null;
}
origin: pierre/meteo

public Response processRollbackTransaction(TransactionInfo info) throws Exception {
  TransportConnectionState cs = lookupConnectionState(info.getConnectionId());
  context = cs.getContext();
  cs.removeTransactionState(info.getTransactionId());
  broker.rollbackTransaction(context, info.getTransactionId());
  return null;
}
org.apache.activemq.brokerBrokerrollbackTransaction

Javadoc

Rollsback a transaction.

Popular methods of Broker

  • getAdaptor
    Get a Broker from the Broker Stack that is a particular class
  • getDestinationMap
    return a reference destination map of a region based on the destination type
  • removeDestination
  • commitTransaction
    Commits a transaction.
  • forgetTransaction
    Forgets a transaction.
  • getBrokerService
  • getClients
  • getDestinations
  • getPreparedTransactions
    Gets a list of all the prepared xa transactions.
  • getVmConnectorURI
  • removeConsumer
  • acknowledge
  • removeConsumer,
  • acknowledge,
  • addBroker,
  • addConnection,
  • addConsumer,
  • addDestination,
  • addDestinationInfo,
  • addProducer,
  • addSession,
  • beginTransaction

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JComboBox (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now