summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunk tag to-cmake-25mar09 (r758432)Stephen D. Huston2009-03-25361-8526/+15635
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/cmake@758465 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
* QPID-1581 : Removed unnecessary Jetty dependencies on Qman Admin ConsoleAndrea Gazzarini2009-02-091-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1652 : Created MessagePublishInfoImpl and Unit Test, removed the ↵Martin Ritchie2009-02-0917-501/+170
| | | | | | several annoynmous classes that did all the same work. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742496 13f79535-47bb-0310-9956-ffa450edef68
* Missed the modifications to FailoverRoundRobinServers.java during the commit ↵Rajith Muditha Attapattu2009-02-092-3/+1
| | | | | | | | | for QPID-1649 Missed the modifications to ServerDelegate during the cleanup done in rev 742269 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742278 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused classes from the great refactoring period.Rajith Muditha Attapattu2009-02-098-858/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742269 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1645Rajith Muditha Attapattu2009-02-094-6/+21
| | | | | | | | | Added support to specify the sasl_mechs as a space separated list in the connection URL. By default it will use PLAIN. You could provide a list of mechs to support or force to use one GASSAPI or CRAM-MD5 by specifying only that in the connection URL. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742267 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1649Rajith Muditha Attapattu2009-02-095-4/+194
| | | | | | | There is some code in AMQConnectionDelegate_0_10.java related to QPID-1645 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742260 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1644Rajith Muditha Attapattu2009-02-092-5/+8
| | | | | | | If the exchange name starts with "amq." then the passive flag will be set to true in the exchangeDeclare command git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742255 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1654Rajith Muditha Attapattu2009-02-092-11/+65
| | | | | | | This contains the first step towards supporting a queue bound to any exchange type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742250 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for the problem highlighted in QPID-1374Rajith Muditha Attapattu2009-02-063-23/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1628 : Moved Redelivered from AMQMessage to QueueEntryMartin Ritchie2009-02-0620-127/+218
| | | | | | Added PropertyExpressionTest to test Redelivered Property git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741634 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1647: Added headers exchange exampleArnaud Simon2009-02-053-0/+267
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741151 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741035 ↵Andrea Gazzarini2009-02-051-119/+0
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : Source modification for QMan Admin ConsoleAndrea Gazzarini2009-02-0520-7/+1608
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : QMan (Web) admin consoleAndrea Gazzarini2009-02-0521-2/+4121
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : updated build dependencies in order to include QMan Admin ↵Andrea Gazzarini2009-02-051-1/+7
| | | | | | console libraries. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741028 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : JSP Libraries added for QMan Admin console.Andrea Gazzarini2009-02-053-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741027 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : Updated license information about JSP librariesAndrea Gazzarini2009-02-052-0/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1646: implemented handlers for producer flow control signalsRafael H. Schloming2009-02-053-4/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1626: Make ACLPlugin a more sensible interface, get rid of the giant ↵Aidan Skinner2009-02-0419-313/+537
| | | | | | | | | | switch in SimpleXML. Handlers shouldn't rely on the plugin throwing an exception for flow control, they now check the return value and do the right thing themselves. AllowAll, DenyAll now extend BasicACLPlugin. PrinciplePermissions(Test): futz with the interface a little so that it's easier to call from an ACLPlugin implementation. Leave the giant switch alone as it's quite fragile, and throws rocks at cats. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740769 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1619Rajith Muditha Attapattu2009-01-285-29/+86
| | | | | | | | | | Added the man page back. Renamed qman-jmx-start to qman-jmx and there is no corresponding stop script. Added a simple qman.log4j Ran dos2unix on qman-config.xml git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@738568 13f79535-47bb-0310-9956-ffa450edef68