Package org.apache.qpid.server.txn

Examples of org.apache.qpid.server.txn.LocalTransaction.commit()


                {
                    // TODO log discard
                }
            }

            txn.commit();

            if(_alternateExchange != null)
            {
                _alternateExchange.removeReference(this);
            }
View Full Code Here


            throw new OperationsException("\"From MessageId\" should be greater than 0 and less than \"To MessageId\"");
        }

        ServerTransaction txn = new LocalTransaction(_queue.getVirtualHost().getTransactionLog());
        _queue.moveMessagesToAnotherQueue(fromMessageId, toMessageId, toQueueName, txn);
        txn.commit();
    }

    /**
     * @see ManagedQueue#deleteMessages
     * @param fromMessageId
View Full Code Here

        ServerTransaction txn = new LocalTransaction(_queue.getVirtualHost().getTransactionLog());

        _queue.copyMessagesToAnotherQueue(fromMessageId, toMessageId, toQueueName, txn);

        txn.commit();


    }

    /**
 
View Full Code Here

                }
            }

        }

        txn.commit();

        return count;
    }

    private void dequeueEntry(final QueueEntry node)
View Full Code Here

                                    });
                    }
                }
            }

            txn.commit();


            if(_managedObject!=null)
            {
                _managedObject.unregister();
View Full Code Here

                                    {

                                    }
                                }
                               );
                    txn.commit();
                }
                finally
                {
                    ref.release();
                }
View Full Code Here

                }
            }

        }

        txn.commit();

        return count;
    }

    private void dequeueEntry(final QueueEntry node)
View Full Code Here

                {
                    // TODO log discard
                }
            }

            txn.commit();

            preSetAlternateExchange();

            for (Action<? super AMQQueue> task : _deleteTaskList)
            {
View Full Code Here

                                });
                }
            }

        });
        txn.commit();
    }


    @Override
    public Object getAttribute(String name)
View Full Code Here

                                    {

                                    }
                                }
                               );
                    txn.commit();
                }
                finally
                {
                    ref.release();
                }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.