summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1683: swap the order 'next' and 'previous' buttons for viewing tabular ↵Robert Gemmell2009-02-271-4/+4
| | | | | | data to make them be in the conventional <previous .. next> layout git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1696: remove unused 'transport' details from the management console ↵Robert Gemmell2009-02-274-52/+20
| | | | | | server connection process. these details are taken care of by the JMXConnectionFactory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1655: use a File object to hold reference to access file instead of a ↵Robert Gemmell2009-02-272-117/+280
| | | | | | String to fix issue with createTempFile and absolute paths. Stop catching IOExceptions in saveAccessFile() and make calling methods catch them to check for and report failure and act accordingly to reverse actions in memory. Add additional unit tests to cover access rights file manipulation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748686 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1536: modify the B64MD5 PD to take plain text input and perform the ↵Robert Gemmell2009-02-278-130/+301
| | | | | | required hashing itself in order to present a consistent interface for user management. Alter management console to use mbean versioning to detect this and send plaintext to v2+ user management mbeans. Update RMIPasswordAuthenticator to make use of the new PD input consistency git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1502: Update the PlainPasswordFilePrincipalDatabase to be manipulatable ↵Robert Gemmell2009-02-274-44/+870
| | | | | | by the management console and cached in memory like the B64MD5 PD. Add unit tests for the PlainPD git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1590: make add server and reconnect dialogues centre within the app ↵Robert Gemmell2009-02-272-14/+22
| | | | | | window to fix multimonitor issues git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748620 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1242: reintegrate the ability to view binary message content, lost ↵Robert Gemmell2009-02-278-13/+337
| | | | | | previously during a branch merge to trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748611 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1701: fixed potential deadlock on connection closeRafael H. Schloming2009-02-272-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1699: fix mbean annotation, log failure to reload file. Address review ↵Aidan Skinner2009-02-272-6/+13
| | | | | | comments from robbie. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748591 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1699: reload the config file sections that we can when we receive ↵Aidan Skinner2009-02-275-8/+155
| | | | | | SIGHUP. Add jmx method to do so. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1635,QPID-1636,QPID-1638 : Updated QueueEntries to contain additional ↵Martin Ritchie2009-02-2720-292/+643
| | | | | | | | | | | | | | | | | | | values from AMQMessage, _flags and expiry this allows the checking of immediate delivery and expiry on unloaded messages. Updated nomenclature to use load/unload rather than the overloaded flow/recover. Created new FileQueueBackingStoreFactory to ensure that validates and creates initial flowToDiskLocation and creates a new BackingStore. Responsibility for FlowToDisk has been added to the QueueEntryLists. This will allow the easy unloading of the structure in the future. Inorder to do this the size,count and memory count properties had to be moved from the SimpleAMQQueue to the QueueEntryList. An Inhaler thread was created in addition to the synchronous loading of messages. This is initiated as a result of a flowed QEL dropping below the minimumMemory value. A test to ensure that the queue never exceeds its set memory usage and that the count does not go negative has been added to SimpleAMQQueueTest. The SimpleAMQQueue is responsible for deciding when a message can be unloaded after delivery takes place. The QEL cannot decide this as there is no state for a message being marked as sent to a consumer. Only Aquired and Dequeued. The unloaded message is only deleted after the QueueEntry is deleted from the QEL. This negates the need to recreated the data on disk if the message needs to be unloaded again. All files/directories relating to FtD are created as deleteOnExit files so that under clean shutdown the VM will ensure that the files are deleted. On startup the flowToDiskLocation is also purged to ensure a clean starting point. SAMQQueueThreadPoolTest was augmented to take in to account the new inhaler executor reference. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1635,QPID-1636 : Moved additional properties from AMQMessage up to ↵Martin Ritchie2009-02-2719-416/+775
| | | | | | QueueEntry to allow processing whilst messasge has been flowed. Moved : _flags (for Immediate and delivered status), expiry, messageID. Created base class to maintain counts of data and objects in queue. Removed this responsibility from the AMQQueues and on to the QueueEntryLists. This will more easily allow the QEL structure to be flowed to disk at a later stage. Updated tests as a result of moves. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748516 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1579 : WSDMADapter is no longer a big test case. Instead there's a ↵Andrea Gazzarini2009-02-277-64/+134
| | | | | | separated test case class for each WSDM Interface. As conseguence of that, WSDM is simply a grouping suite. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1632 : Tidied up old referenceCount variable that was still in use in ↵Martin Ritchie2009-02-271-4/+2
| | | | | | logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748514 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1629 : Forgot to delete AMQMessageHandle.javaMartin Ritchie2009-02-271-75/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748513 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1606 : Pausable Subscription Manager capability example.Andrea Gazzarini2009-02-273-2/+223
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748512 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1582 : Pausable Subscription Manager capability + WSDL Improvements.Andrea Gazzarini2009-02-277-115/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1698: remove confusing third choice from confirmation dialoguesRobert Gemmell2009-02-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748380 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1682: make it easier to distinguish operation success and failure by ↵Robert Gemmell2009-02-271-1/+8
| | | | | | using different dialogue style to visually reinforce the message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1681: make the jmx management console only print a notice to stdout ↵Robert Gemmell2009-02-273-3/+1
| | | | | | upon reciept of a connection-failed notification, instead of upon every registration, unregistration, and removal of an mbean from the server registry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748365 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1697: for mbeans that are not queues, connections or exchanges, check ↵Robert Gemmell2009-02-271-1/+20
| | | | | | the MBeanInfo can be retrieved before adding it to the navigation tree. Prevents showing the admin-only mbeans to users who cant view them anyway git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1679: added a check for the number of available notifications to ↵Robert Gemmell2009-02-261-0/+8
| | | | | | subscribe for, if this is null or 0, do not show the notifications tab git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748354 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1615: removed unecessary & re-rentrant tree expansion causing the ↵Robert Gemmell2009-02-261-6/+16
| | | | | | runtime exception, and replaced with an asynchronous tree refresh to update the navigation images git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748342 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1692Rajith Muditha Attapattu2009-02-261-3/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748197 13f79535-47bb-0310-9956-ffa450edef68
* don't run tests when broker doesn't startRafael H. Schloming2009-02-261-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748178 13f79535-47bb-0310-9956-ffa450edef68
* don't try to return messages unless the session is startedRafael H. Schloming2009-02-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748158 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1579 : Instead of having one huge WSDM test case now WS-DM Adapter test ↵Andrea Gazzarini2009-02-2636-1552/+1987
| | | | | | is a suite that contains different test cases ( one for each interface) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748154 13f79535-47bb-0310-9956-ffa450edef68
* don't block unreliable commands during resumeRafael H. Schloming2009-02-261-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748119 13f79535-47bb-0310-9956-ffa450edef68
* fixup of change for QPID-1642 and QPID-1643Rafael H. Schloming2009-02-262-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747977 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1106Rajith Muditha Attapattu2009-02-251-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747964 13f79535-47bb-0310-9956-ffa450edef68
* Made the various receive variants check that the server queue is empty ↵Rafael H. Schloming2009-02-2526-137/+232
| | | | | | before returning null. Also modified AMQQueueBrowser to use receiveNoWait() when browsing queues using 0-10. These changes uncovered numerous second order bugs, mostly in failover. These are also fixed. This fixes QPID-1642 and QPID-1643. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747963 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1106 and QPID-1677Rajith Muditha Attapattu2009-02-255-9/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747962 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1640Rajith Muditha Attapattu2009-02-254-46/+138
| | | | | | | Please read the JIRA for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1648: Remove doubling of new classes. Stoopid patch(1). PEBKAC.Aidan Skinner2009-02-253-1209/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1648: Add LoggingManagement and associated MBean to enable dynamic ↵Aidan Skinner2009-02-257-42/+2485
| | | | | | | | reloading of log4j file. Update sample log4js so that they aren't arbitrarily rewritten. Patch from Robbie Gemmell <gemmellr@dcs.gla.ac.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1568: make isInstanceOf and isRegistered read only methods. Fix code ↵Aidan Skinner2009-02-251-11/+18
| | | | | | | | style issue with field name. Patch from Robbie Gemmell <gemmellr@dcs.gla.ac.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1537: Version MBeans.Aidan Skinner2009-02-2514-17/+27
| | | | | | Patch from Robbie Gemmell <gemmellr@dcs.gla.ac.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747868 13f79535-47bb-0310-9956-ffa450edef68
* revert r747782Aidan Skinner2009-02-251-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1668: check initial count, don't assume it's 0. It should be, but there ↵Aidan Skinner2009-02-251-4/+4
| | | | | | are bugs in ApplicationRegistry.close that prevent this from working. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1668 Exclude org.apache.qpid.server.queue.SimpleAMQQueueThreadPoolTestAidan Skinner2009-02-251-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747782 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1686 - Had to had another AR.getInstance() call as alternative is to ↵Martin Ritchie2009-02-251-2/+12
| | | | | | complete this JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747755 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1634 : Created QueueBackingStore interface and implementation ↵Martin Ritchie2009-02-2510-18/+775
| | | | | | FileQueueBackingStore. Tested by FileQueueBackingStoreTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1633 : Added new properties to SimpleAMQQueue with appropriate ↵Martin Ritchie2009-02-2510-8/+292
| | | | | | getters/setters from the ServerConfiguration and Management Console. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747753 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1632 : Removed commented codeMartin Ritchie2009-02-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747751 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1684: removed polluting rewind and useless importsArnaud Simon2009-02-251-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747722 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1684: Tests demonstrating the issueArnaud Simon2009-02-251-0/+136
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747717 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747401 ↵Andrea Gazzarini2009-02-241-87/+83
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* Fix build deps fileAidan Skinner2009-02-242-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1612: Allow split configuration files. Add tests for old-style and ↵Aidan Skinner2009-02-241-0/+4
| | | | | | | | new-style file parsing. This depends on an upgraded commons-configuration, which needs commons-digester and commons-beanutils. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747370 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1612: add environment variables for some things, sanitise the ↵Aidan Skinner2009-02-241-10/+0
| | | | | | housekeeping timer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747369 13f79535-47bb-0310-9956-ffa450edef68