summaryrefslogtreecommitdiff
path: root/java/broker/src
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
* Fix for a bug in the Broker Tools, preventing them working.Martin Ritchie2007-08-015-14/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@561794 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
* 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-058-46/+233
| | | | | | 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-0432-65/+3944
| | | | | | | | | | 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
* 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-212-60/+73
| | | | | | 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
* Various License header updates.Martin Ritchie2007-06-182-12/+11
| | | | | | 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-1810-13/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@548276 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 Integrated python tests with maven tested on windows CMD.exe and ↵Martin Ritchie2007-05-182-2/+136
| | | | | | 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-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
* QPID-480 : Avoid deadlock on UnacknowledgedMessageMap and ↵Robert Godfrey2007-05-071-1/+2
| | | | | | ConcurrentSelectorDeliveryManager git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536008 13f79535-47bb-0310-9956-ffa450edef68
* Management console users list display is updated.Bhupendra Bhusman Bhardwaj2007-05-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534763 13f79535-47bb-0310-9956-ffa450edef68
* Removed accidental inclusion of copyright notices.Robert Greig2007-05-026-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534478 13f79535-47bb-0310-9956-ffa450edef68
* Exchange MBeans updated - init method moved to super class. Bhupendra Bhusman Bhardwaj2007-05-025-70/+35
| | | | | | Exception handling of management console updated for SecurityException. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534473 13f79535-47bb-0310-9956-ffa450edef68
* Comments and Test changesMartin Ritchie2007-05-011-1/+12
| | | | | | | | VirtualHost Added comments HeapExhaustion - Updated to send transient messages. QpidClientConnection - Allowed specification of type of message to send. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534117 13f79535-47bb-0310-9956-ffa450edef68
* Updated PrincipalDatabase implementations to return empty strings rather ↵Martin Ritchie2007-04-272-2/+4
| | | | | | than null. As this causes NPE on MC. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-473 Base64MD5PrincipalDatabase doesn't check password changes were ↵Martin Ritchie2007-04-271-17/+5
| | | | | | | | applied to disk before storing in memory Reversed the effects of the requested change if the changes cannot be persisted to disk git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-292 - Authentication not handled correctly.Martin Ritchie2007-04-261-2/+17
| | | | | | Copied handling from SecureOkMethod handler. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@532728 13f79535-47bb-0310-9956-ffa450edef68
* Reduced logging on requeue.Martin Ritchie2007-04-241-9/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531937 13f79535-47bb-0310-9956-ffa450edef68
* Defaulted the use of JMX SASL security to false. As this requries the ↵Martin Ritchie2007-04-241-1/+1
| | | | | | jmxremote.jar from sun which is not Apache license friendly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531859 13f79535-47bb-0310-9956-ffa450edef68
* QPID-290 - Java broker does not honor maximum number of channels thresholdMartin Ritchie2007-04-231-2/+13
| | | | | | Applied patch from Nuno Santos git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-445Bhupendra Bhusman Bhardwaj2007-04-232-17/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531524 13f79535-47bb-0310-9956-ffa450edef68
* White Space changesMartin Ritchie2007-04-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531518 13f79535-47bb-0310-9956-ffa450edef68
* Comment updates on the origin of the testsMartin Ritchie2007-04-231-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531517 13f79535-47bb-0310-9956-ffa450edef68
* Update to system test so that the run as part of the build process as they ↵Martin Ritchie2007-04-231-1/+1
| | | | | | | | were not running. Change to AMQMessage to ensure that the TxAckTest passes. Was failing as the reference count was being changed out of the increment/decrementReference methods git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531515 13f79535-47bb-0310-9956-ffa450edef68