summaryrefslogtreecommitdiff
path: root/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 575811 via svnmerge from Rupert Smith2007-09-191-1/+6
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1 ........ r575811 | ritchiem | 2007-09-14 23:47:52 +0100 (Fri, 14 Sep 2007) | 1 line QPID-531 : NO_ACK fix. Added a decrementReference in SubscriptionImpl after the message has been sent. This was previously done inside dequeueMessage() but when the reference counting was reworked earlier in the year it was moved out of that method.. but all the uses of dequeueMessage were not evaluated. The existing AckTest didon't detect this error as it only occurs with persistent messages which the client sends by default. The AckTest however only tests transient messages. Updated Test for NO_ACK raised JIRA QPID-602 to cover updating the rest of the AckTests ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.0.0.0_patch@577300 13f79535-47bb-0310-9956-ffa450edef68
* QPID-572 patches applied.Rupert Smith2007-09-181-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.0.0.0_patch@576914 13f79535-47bb-0310-9956-ffa450edef68
* added -XX:+HeapDumpOnOutOfMemoryError this should have been before.Martin Ritchie2007-08-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@562124 13f79535-47bb-0310-9956-ffa450edef68
* Fix for a bug in the Broker Tools, preventing them working.Martin Ritchie2007-08-016-21/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@561794 13f79535-47bb-0310-9956-ffa450edef68
* Changes to POMs.Martin Ritchie2007-07-312-7/+143
| | | | | | | | | | | | Client pom now builds a single jar with all dependancies included in the single bundle. systests/pom.xml adjusted to include only *Test.class items. This will fix the current Error on OptOutTestCase management/eclipse-plugin/pom.xml - editied to include there required MANIFEST.MF to identify plugin to eclipse distribution/src/main/assembly/management-eclipse-plugin.xml editied to include there required MANIFEST.MF to identify the plugin distribution/pom.xml - white space Also updated log4j.xml default to create an alert.log file from the AMQQueue alerting. Added a debug.log4j.xml that gives example of debugging the broker via log4j. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@561278 13f79535-47bb-0310-9956-ffa450edef68
* AMQMessage - added //todo-s and removed unused parameter StoreContext from ↵Martin Ritchie2007-07-254-34/+32
| | | | | | | | expired() method call. ConcurrentSelectorDeliveryManager - Update to reflect expired() call change. Created new _reaperContextStore to be used when performing reaper operations such as message dequeue due to expiration. Removed old commented code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@559427 13f79535-47bb-0310-9956-ffa450edef68
* Refactored interop tests into general distributed test framework. Moved ↵Rupert Smith2007-07-251-0/+1
| | | | | | framework under systests from integrationtests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@559419 13f79535-47bb-0310-9956-ffa450edef68
* Update fix incorrect license headers.Martin Ritchie2007-07-1814-474/+174
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@557306 13f79535-47bb-0310-9956-ffa450edef68
* Updates to pom files and Licensing/Notice files for M2 release.Martin Ritchie2007-07-181-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@557276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-541 A large portion of memory was being wasted in 32k ByteBuffers being ↵Martin Ritchie2007-07-175-7/+38
| | | | | | | | | held by the AMQShortStrings. Patch submitted by Robert Godfrey to intern() the AMQSSs to reduce memory usage. Current implementation *will* impact performance due to the usage of a static Map for storage. However, a thread local implementation is in the works. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556890 13f79535-47bb-0310-9956-ffa450edef68
* Change to allow the management port to be specified on the command line, via ↵Martin Ritchie2007-07-172-48/+85
| | | | | | -m or --mport git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556888 13f79535-47bb-0310-9956-ffa450edef68
* White space & code formatting changeMartin Ritchie2007-07-171-5/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-540 Prevent NPE when purging message from the main _message queue in ↵Martin Ritchie2007-07-173-56/+135
| | | | | | the ConcurrentSelectorDeliveryManager that have been delivered via a Subscribers _messageQueue. Ensuring that any expired messages are still correctly handled. i.e. the Queue size/depth is reduced and the message correctly dequeued from the underlying store. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-538 Check to ensure a duplicate binding is not created.Martin Ritchie2007-07-176-25/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556861 13f79535-47bb-0310-9956-ffa450edef68
* Update to the MessageStore Tool to provide Move and Purge functionality.Martin Ritchie2007-07-175-138/+247
| | | | | | Updated to remove the AMQExceptions that will be removed from the Exchange class. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556847 13f79535-47bb-0310-9956-ffa450edef68
* Additional logging in case of broker failure at startup.Martin Ritchie2007-07-171-1/+4
| | | | | | Use broker logger at error level as well as System.out git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556845 13f79535-47bb-0310-9956-ffa450edef68
* QPID-537 : Make AMQMessage.incrementReference publicRobert Godfrey2007-07-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556628 13f79535-47bb-0310-9956-ffa450edef68
* Added message copy method.Rupert Smith2007-07-101-19/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@554964 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to compile before committing. Missed a method change in the Select ↵Martin Ritchie2007-07-051-1/+1
| | | | | | command. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@553482 13f79535-47bb-0310-9956-ffa450edef68
* Minor changes and tidy up when running via command line.Martin Ritchie2007-07-0510-52/+262
| | | | | | Added Copy command. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@553480 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up some extranious logging.Martin Ritchie2007-07-043-44/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@553265 13f79535-47bb-0310-9956-ffa450edef68
* Addition of the MessageStore Tool.Martin Ritchie2007-07-0436-69/+4035
| | | | | | | | | | Small changes to the Exchanges to allow the extraction of currently listed items. Extracted initial broker configuration mechanism to a reusable class. Have modified broker to use it. Move the Passwd.java to new tools package structure on the broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@553248 13f79535-47bb-0310-9956-ffa450edef68
* Messages moved by management console now commited on the message store.Rupert Smith2007-07-042-102/+125
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@553172 13f79535-47bb-0310-9956-ffa450edef68
* Added some documentation.Rupert Smith2007-07-022-226/+348
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@552499 13f79535-47bb-0310-9956-ffa450edef68
* renamed the passwd programme qpid-passwd to match the change in bin directory.Martin Ritchie2007-06-271-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@551176 13f79535-47bb-0310-9956-ffa450edef68
* Updated default guest password as it was not correct.Martin Ritchie2007-06-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@551120 13f79535-47bb-0310-9956-ffa450edef68
* QPID-509 Mandatory messages not returned outside a transaction. They are now.Rupert Smith2007-06-267-319/+331
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@550849 13f79535-47bb-0310-9956-ffa450edef68
* Added minimal checkstyle to project reports. Fixed some problems with site ↵Rupert Smith2007-06-213-60/+74
| | | | | | generation. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@549530 13f79535-47bb-0310-9956-ffa450edef68
* Proper update to PrincipalDatabase's to ensure they work correctly with # ↵Martin Ritchie2007-06-202-17/+23
| | | | | | comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@549011 13f79535-47bb-0310-9956-ffa450edef68
* QPID-525 Memory leak in DestWildExchange. Used routing key in remove rather ↵Martin Ritchie2007-06-181-2/+1
| | | | | | than empty queue git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@548381 13f79535-47bb-0310-9956-ffa450edef68
* Added SLF4J to Log4J binding.Rupert Smith2007-06-181-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@548312 13f79535-47bb-0310-9956-ffa450edef68
* Various License header updates, missed this file. Though the first update of ↵Martin Ritchie2007-06-181-0/+18
| | | | | | it via the JMX console will remove the license. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@548308 13f79535-47bb-0310-9956-ffa450edef68
* Various License header updates.Martin Ritchie2007-06-187-13/+104
| | | | | | Update to PrincipalDatabase's to ensure they work correctly with # comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@548302 13f79535-47bb-0310-9956-ffa450edef68
* Various License header updates.Martin Ritchie2007-06-1813-16/+211
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@548276 13f79535-47bb-0310-9956-ffa450edef68
* Removed log4j dependency from client. Using slf4j instead, end-user to ↵Rupert Smith2007-06-111-5/+17
| | | | | | supply logging implementation as desired. Log4j used for tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@546190 13f79535-47bb-0310-9956-ffa450edef68
* Update to ensure fastinstall profile skips the broker python tests.Martin Ritchie2007-05-301-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@542789 13f79535-47bb-0310-9956-ffa450edef68
* Can now pass property to skip python tests, set in settings.xmlRupert Smith2007-05-291-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@542484 13f79535-47bb-0310-9956-ffa450edef68
* QPID-482 : Small performance tweaksRobert Godfrey2007-05-242-22/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@541247 13f79535-47bb-0310-9956-ffa450edef68
* Documented all exception.Rupert Smith2007-05-2111-107/+218
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@540107 13f79535-47bb-0310-9956-ffa450edef68
* QPID-401 Update to allow -Dskip-python-tests to disable python checkingMartin Ritchie2007-05-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@539484 13f79535-47bb-0310-9956-ffa450edef68
* QPID-401 Update to allow -Dskip-python-tests to disable python checkingMartin Ritchie2007-05-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@539481 13f79535-47bb-0310-9956-ffa450edef68
* QPID-401 Update to pom to correctly set the broker.dirMartin Ritchie2007-05-181-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@539476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-401 Integrated python tests with maven tested on windows CMD.exe and ↵Martin Ritchie2007-05-184-2/+215
| | | | | | linux FC5 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@539470 13f79535-47bb-0310-9956-ffa450edef68
* Fixed failing python tests. The rather annoying way we unsubscribe ↵Martin Ritchie2007-05-171-1/+7
| | | | | | | | subscribers by creating new ones was causing a problem as the closing channel had been closed before the unsubscribe call. Java now passes all python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@538912 13f79535-47bb-0310-9956-ffa450edef68
* Fix for broken CSDM message purging routine that was causing python test_get ↵Martin Ritchie2007-05-171-7/+49
| | | | | | | | to fail. Replaced long while control with a method call that is easier to understand and has more comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@538882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3 Topic Matching with testsMartin Ritchie2007-05-152-10/+786
| | | | | | | | | A simple naive approach. Similar to C++ to be included for M2. More elaborate pre-evaluated version will have to wait. Once benchmarks have been performed we can evaluate performance advantages if any of that approach. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@538240 13f79535-47bb-0310-9956-ffa450edef68
* QPID-484 Provided default GC and easy customisation.. via setting QPID_JAVA_QC.Martin Ritchie2007-05-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-25 TimeToLive Basic implementation. Martin Ritchie2007-05-095-6/+81
| | | | | | | | | | | | | Messages are not automatically purged rather they are checked as they are selected for delivery. If they have expired they are dequeued. AMQChannel - Update to call setExpiration on the message so the time can be adjusted if client & broker clocks are out of sync. AMQMessage - Caches the _expiration time for internal use, adjusted for broker time. This leaves message headers unchanged so receiving client can see actual value requested by producer. ConcurrentSelectorDeliveryManager - Updated to check for expired messages when getNextMessage is called. Immediate messages are NOT expired. Subscription - Added method to getChannel that this Subscription is attatched to so we can retrieve the StoreContext for dequeue-ing the message. TimeToLiveTest - Test of Time to live. Sends 50 msgs. 1 non-timed 48 1 second and 1 non-timed ensure only 2 msgs come back after 2 seconds git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-482 : Small performance enhancementsRobert Godfrey2007-05-096-59/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536480 13f79535-47bb-0310-9956-ffa450edef68
* Added default password file for use with Base64MD5PassswordFilePrincipalDatabaseMartin Ritchie2007-05-081-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536141 13f79535-47bb-0310-9956-ffa450edef68