summaryrefslogtreecommitdiff
path: root/qpid/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunkAidan Skinner2009-10-1130-611/+1074
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@824198 13f79535-47bb-0310-9956-ffa450edef68
* Merge from trunkAidan Skinner2009-09-1714-1055/+221
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@816261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2024 QPID-2105: Remove now unnecessary classes like Event, PoolingFilter, Aidan Skinner2009-09-171-12/+8
| | | | | | | | | ReadWriteThreadModel. Move the couple of necessary methods to Job. Fix imports. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@816232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2015: Remove AMQIoTransportProtocolSession. Release the executor ↵Aidan Skinner2009-09-161-1/+1
| | | | | | service in the same class as it's acquired git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@815729 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2106: Don't close connections if the broker has asked it to close andAidan Skinner2009-09-164-12/+40
| | | | | | | | | there's still stuff to process. Let the cleanup thread do that so that publishes which are denied don't result in instant connection death. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@815705 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2105: Make NetworkDriver.open use a SSLContextFactory, not an SSLEngine.Aidan Skinner2009-09-166-183/+34
| | | | | | | | | | | | | | | | | | | | | | | Allow an existing SocketConnector to be passed into a MINANetworkDriver, for use with the ExistingSocket bit of TransportConnection. Move the ExistingSocket stuff to one place, use MINANetworkDriver in TransportConnection and make AMQProtocolHandler implement ProtocolEngine. Remove MINA specific gubbins from AMQProtocolHandler and AMQProtocolSession. Move fireAsynchEvent to Job Add getLocalAddress to AMQProtocolEngine Move TestNetworkDriver to common Use correct class for logger in AMQProtocolEngine Check the exception is thrown properly in SimpleACLTest, make it a little less prone to obscure race conditions. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@815704 13f79535-47bb-0310-9956-ffa450edef68
* Merge from trunk Aidan Skinner2009-09-099-71/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@812936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2025: Log errors instead of printStackTracing()Aidan Skinner2009-09-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@811326 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2025: remove dead classesAidan Skinner2009-09-032-342/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@810953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2025: Add a AMQProtocolEngine from the de-MINAfied ↵Aidan Skinner2009-09-0119-711/+629
| | | | | | AMQMinaProtocolSession. Remove various now-unused classes and update references. Add tests for AMQDecoder. Net -1500 lines, +25% performance on transient messaging. Nice. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@810110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051: relax the parser validation to only halt startup on fatal-errors ↵Robert Gemmell2009-08-176-50/+97
| | | | | | in the xml file, and relax the level-check to allow undefined system properties. Move the Log4J initialisation override inside Main instead of the startup scripts, and have it check for -Dlog4j.configuration first before engaging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2055: update the save process for the log4j configuration file. Check ↵Robert Gemmell2009-08-171-5/+32
| | | | | | if the rename/move succeeds, and if not attempt a copy instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2042: update the save process for the access rights file. Check if the ↵Robert Gemmell2009-08-171-5/+34
| | | | | | rename/move succeeds, and if not attempt a copy instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805019 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2041: update the save process for the B64 MD5 password file. Only ↵Robert Gemmell2009-08-171-8/+38
| | | | | | attempt the move if the new file is created successfully. Check if the rename/move succeeds, and if not attempt a copy instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805018 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2040: update the save process for the plain password file. Only attempt ↵Robert Gemmell2009-08-171-8/+39
| | | | | | the move if the new file is created successfully. Check if the rename/move succeeds, and if not attempt a copy instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805017 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2039: close the JMXConnectorServer down during shutdown of the ↵Robert Gemmell2009-08-161-9/+18
| | | | | | JMXManagedObjectRegistry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2052: Enable setting Loggers to inherit their Level from an ancestor. ↵Robert Gemmell2009-08-161-3/+26
| | | | | | Highlight the Runtime Loggers that have a level defined in the configuration file to aid inheritance visibility. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2016: Add ability to reload the Log4J configuration file on request ↵Robert Gemmell2009-08-161-0/+37
| | | | | | using the management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804767 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051: Make the LoggingManagementMBean share the lock with ↵Robert Gemmell2009-08-162-313/+379
| | | | | | QpidLog4JConfigurator,protecting against concurrent access/modifications to the logging configuration file by JMX clients and the WatchDog thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051: Update startup scripts to disable the Log4J default ↵Robert Gemmell2009-08-166-54/+752
| | | | | | initialisation process. Add QpidLog4JConfigurator that validates the XML file before allowing it to be applied. Alter startup behaviour to shut the broker down if the specified log4j XML file is present present but invalid. Uses the -Damqj.logging.level(defaults to info) with the log4j.properties file in the broker jar if the XML file is not found. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Default Locale should be the VMs locale not en_US.Martin Ritchie2009-08-142-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804201 13f79535-47bb-0310-9956-ffa450edef68
* Move closure logging to the end when things have been closed rather than ↵Martin Ritchie2009-08-121-4/+4
| | | | | | before it is closed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Defensive update incase the thread name is not as expected. In ↵Martin Ritchie2009-08-121-8/+27
| | | | | | all production environments it has shown to be but as the other tests highlight it will fail if the name is not as expected. Better to be defensive that just broken. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Ensure that we set the logging actor correctly when mina signals ↵Martin Ritchie2009-08-121-0/+6
| | | | | | the connection closed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of JMX Management interface logging using the new ↵Martin Ritchie2009-08-128-18/+79
| | | | | | Logging Interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803649 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updated ManagementActor to derive logString from the current threadMartin Ritchie2009-08-122-21/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803648 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added Logging of management console connection open and close eventsMartin Ritchie2009-08-124-1/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Update to ensure changes to all LogMessages properties files ↵Martin Ritchie2009-08-121-1/+1
| | | | | | cause the re-generation of the *Messages classes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added new SUB-1003 Message with testingMartin Ritchie2009-08-124-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of a QueueActor to be set during running of the ↵Martin Ritchie2009-08-124-2/+183
| | | | | | | | | processQueue thread Made QueueLogSubject public so it can be reused by QueueActor Updated SAMQQ to create a QueueActor for use during the processQueue thread run git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803638 13f79535-47bb-0310-9956-ffa450edef68
* Updated SAMQQ to only display owner when it is non-nullMartin Ritchie2009-08-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Made owner an optional value on the queue log messageMartin Ritchie2009-08-123-18/+105
| | | | | | Update tests to ensure Owner is not present git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added test to ensure that the ResourceBundle is loadable even if ↵Martin Ritchie2009-08-122-0/+173
| | | | | | the current Locale is not one that has a specific file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803630 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2018: Updated AMQQueueMBean to make use of the AMQQueue clearQueue ↵Robert Gemmell2009-08-101-2/+5
| | | | | | return value to report the number of messages deleted. Updated management console accordingly, also indicating that it is only non-acquired messaes that are cleared git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802819 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add VirtualHost logging and testing, again shutdown testing must ↵Martin Ritchie2009-08-091-0/+7
| | | | | | be excluded due to the way we stop test brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802627 13f79535-47bb-0310-9956-ffa450edef68
* Removed Java 6 dependency on Deque. Used Stack instead.Martin Ritchie2009-08-091-27/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added new message CHN-1004, to allow the reporting of prefetch ↵Martin Ritchie2009-08-092-3/+4
| | | | | | sizes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2036: replace the getMessagesRangeOnTheQueue() implementation with a ↵Robert Gemmell2009-08-091-22/+15
| | | | | | QueueEntryFilter based version that correctly excludes the final message if it has been deleted, and is in general easier to reason about than the previous version git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2015: Add 2 new methods to the VirtualHostManager to retrieve attribute ↵Robert Gemmell2009-08-092-12/+58
| | | | | | names/values for every Queue in the vhost in a single call. Remove previous viewQueueNamesDepths() method. Add new ManagedQueue attribute names constants, and a test to ensure any attributes added to the Queue MBeans in future are also added to the constants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802601 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of Management LoggingMartin Ritchie2009-08-071-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: Broker Start messages were not being printed at earlier enough.Martin Ritchie2009-08-072-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : MessageStore Logging updates to include queue counts from ↵Martin Ritchie2009-08-071-10/+23
| | | | | | persistent stores git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802113 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused Constructor on Mock objectMartin Ritchie2009-08-062-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002, QPID-2001 : Add new SubscriptionActor to perform Subscription ↵Martin Ritchie2009-08-066-11/+197
| | | | | | close logging on the Subscription Flush thread. Alternative would be to create a Virtualhost Logger. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Update to LogMessages.vm to perform the option removal BEFORE ↵Martin Ritchie2009-08-061-21/+21
| | | | | | replacement is performed. Encountered a problem creating Binding Tests where the brackets '[]' logged by the messsage caused the option removal to fail. Performing the removal before formatting will remove this problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add Binding Logging Messages with testMartin Ritchie2009-08-062-9/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801723 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: Added Exchange Logging and testMartin Ritchie2009-08-061-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : SubscriptionLogging Tests, update to SubscriptionImpl for new ↵Martin Ritchie2009-08-061-20/+50
| | | | | | exclusive flag on setQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801719 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added exclusive parameter to subscription.setQueue to allow ↵Martin Ritchie2009-08-064-4/+5
| | | | | | improved logging. Value should be retained in the Subscription for MC display git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add toString functionality to Filters for displaying in ↵Martin Ritchie2009-08-063-1/+39
| | | | | | Subscription arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801712 13f79535-47bb-0310-9956-ffa450edef68