summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-1612: add test class for ServerConfigurationAidan Skinner2009-02-241-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747367 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'QPID-1612'Aidan Skinner2009-02-247-18/+747
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1621,QPID-1632 : Added a setManagementEnabled option to allow the MC to ↵Martin Ritchie2009-02-208-36/+24
| | | | | | be disabled. Updates as a result of merging configuration changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@746265 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1632 - Removal of reference counting and update to tests, TxAckTest was ↵Martin Ritchie2009-02-2030-464/+430
| | | | | | | | reduced in size as reference counting is now not modified until the transaction completes. Replaced MessageReferenceCoutingTest with PersistentMessageTest and further tests wil be created when DerbyDBMessageStore is also updated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@746260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1632 - Initial testing of reference counting and implemntation of ↵Martin Ritchie2009-02-2020-267/+168
| | | | | | TransactionLog based reference counting git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@746259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1665: turn off ack delay if qpid.session.max_ack_delay is set to a ↵Rafael H. Schloming2009-02-191-17/+26
| | | | | | non-positive value git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@745900 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1665: add a timer to ensure message acking is never delayed more than ↵Rafael H. Schloming2009-02-195-16/+72
| | | | | | 1000 ms by default, this is configurable by qpid.session.max_ack_delay git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@745892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1621: add ServerConfiguration, QueueConfiguration and ↵Aidan Skinner2009-02-1958-1194/+1201
| | | | | | | | SecurityConfiguration classes. Move almost all uses of o.a.commons.configuration.Configuration behind there. @Configured delenda est git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@745799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1606 : Connect example + Connect interface ImprovementsAndrea Gazzarini2009-02-177-6/+443
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744967 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1665: changed acknowledgeMessage so to ack messages even if maxprefetch ↵Arnaud Simon2009-02-161-2/+2
| | | | | | is greater than 1 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744917 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1663 : WsDm test sleeps for 2 seconds before startAndrea Gazzarini2009-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744908 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1604 : Implementation of wrsf-rp:PutResourcePropertyDocument interfaceAndrea Gazzarini2009-02-167-165/+110
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744885 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1663 : WsDmAdapterTest fix. A preliminary search is made in order to ↵Andrea Gazzarini2009-02-163-19/+49
| | | | | | find an available port for embedded Web Server. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744850 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1579 : Additional test case for MBean capability builder when target ↵Andrea Gazzarini2009-02-151-0/+57
| | | | | | resource has no properties / no methods git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1664 : QMan Asynchronous notification capabilityAndrea Gazzarini2009-02-1411-111/+484
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744478 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1663 Disable WsDmAdapterTest until we can resolve problemsMartin Ritchie2009-02-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744187 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1631 : Convert MessageStore to TransactionLog and RoutingTable. Updated ↵Martin Ritchie2009-02-1336-333/+492
| | | | | | all references and provided a test to ensure that whilst we are transitioning the configuration we can use the old MessageStore classes that now implement both interfaces without any config updates. Updates to the configuration can come when the store are renamed *TransactionLog git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744184 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1662 : Converted Thread.sleep in to an awaitNanos()Martin Ritchie2009-02-131-6/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1630 : Updated MessageFactory to be responsible for assigning ↵Martin Ritchie2009-02-1322-385/+548
| | | | | | | | | | messagIDs. Several tests needed updating as they relied upon specified messageIDs. Added a recovery mode to the MessageFactory where by new messages can have their ids specified but only as long as the new id is larger than the last one. Recovered messages are always persistent. Simplified a interfaces as a result of not requiring the messageID to be passed through. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1511 : Adds authentication and ssl encryption capabilities to the RMI ↵Aidan Skinner2009-02-1312-99/+846
| | | | | | | | based JMXConnectorServer in use, enforces use of the custom MBeanInvocationhandlerImp when using the RMI based JMX, and implements a customised RMI registry to prevent external changes being possible. Updated Management console accordingly. Patch from Robbert Gemmell <gemmellr@dcs.gla.ac.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1629 : Convered AMQMessage to Interface and created concrete ↵Martin Ritchie2009-02-1335-1428/+1367
| | | | | | | | | | | | | | Transient/PersistentAMQMessage implementations Removed the use of WeakReferences from PersistentAMQMessage and therefore the need to have a StoreContext on get requests. NOTE: this checking will break persistent recovery. Coverted all uses of *MessageHandle to AMQMessage. A number of tests (SimpleAMQQueueTest, TxAckTest.TestMessage, AbstractHeaderExchangeTestBase.Message) still use a custom constructor on Transient/PersistentAMQMessage. This is because they have their own Message implemntations that are used for testing. However, I'm sure they could be modified to override the required functionality rather than attempt to use the existing Factory and Wrap the resulting Message. A new JIRA to address this QPID-1659. QPID-1628 : The update to MessageFactory removes the commented out code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1628 : Further tiding up of imports no longer requried.Martin Ritchie2009-02-1321-36/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744076 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1629 : Fully test MessageHandles before moveMartin Ritchie2009-02-134-4/+372
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744074 13f79535-47bb-0310-9956-ffa450edef68
* Enable org.apache.qpid.test.unit.ack.AcknowledgeTest since this should (and ↵Aidan Skinner2009-02-121-1/+0
| | | | | | does) work with the 0-10 broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1606 : Added an additional example for Consumer / Producer ↵Andrea Gazzarini2009-02-121-0/+248
| | | | | | WS-Notification scenario. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1658: added a byte limit for the number of commands in the session ↵Rafael H. Schloming2009-02-112-3/+25
| | | | | | replay buffer, and made the buffer length configurable git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1623: Allow null as a valid destination for JMSReplyToAidan Skinner2009-02-113-2/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743367 13f79535-47bb-0310-9956-ffa450edef68
* QPID-430: Fix message age alerting so that it works on queues which are ↵Aidan Skinner2009-02-117-23/+19
| | | | | | | | | | | | otherwise inactive. AMQQueue, VirtualHost, MockAMQQueue: change name of removeExpiredIfNoSubscribers to checkMessageStatus. AMQQueueMBean: remove unthrown exception SimpleAMQQueue: add notification checks to checkMessageStatus, remove catch for JMException which checkForNotification no longer throws. NullApplicationRegistry: set small housekeeping check period so that it runs freuqently and tests don't need to sleep for excessive periods of time AMQQueueAlertTest: remove subsequent send, notification alerts shouldn't depend on queue activity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743357 13f79535-47bb-0310-9956-ffa450edef68
* QPID 1582 : WS-Notifications...ooops NullPointerException! Fixed with ↵Andrea Gazzarini2009-02-111-1/+1
| | | | | | correct service endpoint URI git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1582 : WS-Notification implementation on QManAndrea Gazzarini2009-02-1143-187/+3898
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743341 13f79535-47bb-0310-9956-ffa450edef68
* QPDI-1583: Implement support for comma-seperated lists of networks and ↵Aidan Skinner2009-02-113-31/+100
| | | | | | hostnames. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743311 13f79535-47bb-0310-9956-ffa450edef68
* TestIoSession: default address and port to avoid illegal arguments when ↵Aidan Skinner2009-02-111-2/+2
| | | | | | creating an address. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743306 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'QPID-1583'Aidan Skinner2009-02-115-2/+557
| | | | | | | Conflicts: qpid/java/common/src/main/java/org/apache/qpid/util/NetMatcher.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743304 13f79535-47bb-0310-9956-ffa450edef68
* Change package, remove dependency on Java DNS serverAidan Skinner2009-02-101-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743029 13f79535-47bb-0310-9956-ffa450edef68
* Remove MockIoSession, replace with TestIoSession everywhere.Aidan Skinner2009-02-104-300/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743028 13f79535-47bb-0310-9956-ffa450edef68
* Borrow NetMatcher from JAMES. Should probably be moved to commons-net at ↵Aidan Skinner2009-02-101-0/+264
| | | | | | some point. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743015 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1626: Add per-virtualhost authorization plugins.Aidan Skinner2009-02-0925-243/+807
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PluginManager: add support for getting ACLPluginFactories from OSGi and the ones we already know about. *ApplicationRegistry*: return an ACLManager, not an ACLPlugin from getAccessManager. ACLManager: use PluginManager to get all the available plugins. When being asked to authorize a particular request, hold a vote amongst all the plugins as to whether to allow or deny access. ACLPlugin: return a ALLOWED/DENIED/ABSTAIN vote result. Fix typo in method name. ACLPluginFactory: Factory class for ACLPlugins. AccessResult: just use class SimpleName instead of getPluginName PrincipalPermissions: return AuthzResult instead of boolean. Might want to maek use of Abstain for things it doesn't actually acare about instead of defaulting to Allowed. AllowAll, DenyAll, BasicACLPlugin, SimpleXML: add Factory, return AuthzResult instead of boolean. VirtualHost: get a new ACLManager and configure it with the virtualhost security section. Ensure that old config files which have the access_control_list outside of the main security.access section continue to work. MockPluginManager: add mock class for tests PluginTest: not having any plugins now returns an empty set, not null MockAMQQueue: support name attribute ACLManagerTest: tests for ACLManager class ExchangeDenier, QueueDenier: new test classes for ACLManagerTest PrincipalPermissionsTest: check for correct return result, not true/false anymore Move plugin configuration to <security> section, not <security><access> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742626 13f79535-47bb-0310-9956-ffa450edef68