summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-281043-36887/+48382
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated code to include recent refactoring by Gordon (gsim) - see ↵Kim van der Riet2012-08-2770-1440/+1143
| | | | | | QPID-4178. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1377715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1368650Kim van der Riet2012-08-031011-53857/+47390
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1368910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1333987Kim van der Riet2012-05-041329-50613/+139698
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1334037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2660 : AMQMessageDelegate_0_10 uses Byte.valueOf() when converting ↵Robert Godfrey2012-02-202-0/+57
| | | | | | String properties to short, int, and long values git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3293: add new system properties for setting client send/receive buffer ↵Robert Gemmell2012-02-193-9/+78
| | | | | | sizes on connections, restore legacy properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291056 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3855: only increment activeConsumerCount during registration if the ↵Robert Gemmell2012-02-193-3/+68
| | | | | | subscription is active. Add unit test to identify the issue and check behaviour following various state change notifications. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3052: add internal and spawned test profiles for the 0-8 and 0-9 protocolsRobert Gemmell2012-02-1912-0/+410
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3827: FirewallConfigTests fail on FreeBSD Jenkins CI due to peer IP ↵Keith Wall2012-02-181-14/+26
| | | | | | reported as non-loopback git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1290908 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3854: SO_REUSEADDR should be applied to server socket before bind()Keith Wall2012-02-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1290907 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added extra logging to better understand FailoverMethodTest failure ↵Keith Wall2012-02-181-23/+18
| | | | | | on Apache Jenkins Freebsd slaves. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245926 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update expired test SSL certificateRobert Gemmell2012-02-173-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245810 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix acking bug in old perftests, add some logging to aid failure ↵Robert Gemmell2012-02-172-22/+8
| | | | | | analysis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3714: Fix defect in BasicContentHeaderPropertiesKeith Wall2012-02-171-2/+8
| | | | | | Fix defect in BasicContentHeaderProperties when deciding whether to use the cached encoded form. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245439 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: stop catching Throwable, we generally shouldnt continue when faced ↵Robert Gemmell2012-02-171-1/+1
| | | | | | with Errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245419 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3850: add switch into default uncaught exception handler to prevent the ↵Robert Gemmell2012-02-171-3/+7
| | | | | | | | broker from exiting if necessary Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245418 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3743: remove try-catch block on converting BDB message meta data entry ↵Robert Gemmell2012-02-171-20/+9
| | | | | | | | into StorableMessageMetaData Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3846: stop adding useless empty nodes for connections, exchanges, ↵Robert Gemmell2012-02-161-15/+1
| | | | | | | | queues when no virtual hosts are accessable Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3845: Change impact attribute for ShutdownMBean to ACTIONRobert Gemmell2012-02-161-3/+5
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3844: allow queryMBeans to succeed without ACL checking, tools like ↵Robert Gemmell2012-02-162-7/+25
| | | | | | | | JConsole / Qpid MC need this to function at all Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3843: ensure ACL rule evaluation for the ALL operation accounts for the ↵Robert Gemmell2012-02-163-27/+204
| | | | | | | | object type and properties. Fix length used for property wildcarding checks. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244934 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: exclude new python tests for the new QMF stats the broker does not ↵Robert Gemmell2012-02-161-0/+1
| | | | | | implement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244816 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3848: relax the enforcement of exchange type checking during passive ↵Robert Gemmell2012-02-152-2/+2
| | | | | | | | | exchange-declares to allow empty/null values Applied patch by Gordon Sim git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3840: corrected qpid-passwd and qpid-run to handle paths with spaces in ↵Keith Wall2012-02-153-6/+14
| | | | | | | | them. Modified unit test to capture stderr to aid diagnosis of failures. Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244535 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3840: added automated tests for the Java Broker's qpid-passwd script ↵Keith Wall2012-02-154-29/+127
| | | | | | | | and Passwd class Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3842: Java Broker should report platform and memory size on startupKeith Wall2012-02-143-4/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3837: Update message to use the string name of the type. Told you i ↵Robert Gemmell2012-02-141-2/+2
| | | | | | should have tested it first :P git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243858 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3836 Modified the address handling code to pass the noLocalRajith Muditha Attapattu2012-02-134-10/+19
| | | | | | argument to queue-declare method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243719 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3837: align the 0-10 exception message for an exchange redeclare ↵Robert Gemmell2012-02-131-2/+2
| | | | | | | | | attempt with the equivalent 0-9-1 message for clarity and consistency I should test this first, but it is just a string so...<rolls dice> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3835: add the empty 'no selector' argument to bindings for ↵Robert Gemmell2012-02-135-29/+84
| | | | | | DurableSubscription queues that dont yet have the selector argument at all git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243616 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3835: update the test preparer tool to generate content for a durable ↵Robert Gemmell2012-02-133-34/+146
| | | | | | subscription without selector, use it to generate a new legacy store, add test to verify this content once updated and thus expose the issue through test failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3739: Java properties qpid.ssl.keyStoreCertType and ↵Keith Wall2012-02-131-2/+0
| | | | | | | | qpid.ssl.trustStoreCertType have misleading names and would be better called qpid.ssl.[Key|Trust]ManagerFactory.algorithm Address review comments from Robbie Gemmell. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243449 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3825: TransactionTimeoutTests sporadically failKeith Wall2012-02-131-2/+3
| | | | | | Increase the tolerance around the number of received alert messages to allow for running on slower CI box. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243448 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3817: remove unnecessary cast to AMQQueue from the QueueBrowser ↵Robert Gemmell2012-02-132-3/+6
| | | | | | | | | creation path to allow their use with Address syntax 'destination.<address>' entries in JNDI properties files. Applied patch from Praveen Murugesan git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243389 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3830: remove stale reference to old examples READMERobert Gemmell2012-02-131-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243388 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3830: remove stale/confusing old 'examples' for the java clientRobert Gemmell2012-02-1327-2874/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243385 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3831: use AcquireMode=PRE_ACQUIRED when using server-side selectors and ↵Robert Gemmell2012-02-136-16/+12
| | | | | | consuming from Queues. Remove unused method parameter for selector filter. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243384 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3803: increase receive() timeout on persistent runs, newest failure log ↵Robert Gemmell2012-02-131-7/+8
| | | | | | shows the consumer timed out while recieving, before the publisher completed sending all the messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3440: add test to verify issue by ensuring that the reply-to ↵Robert Gemmell2012-02-134-55/+128
| | | | | | Destination cache results in use of the same Destination objects for subsequent messages. Implement equals() and hashCode() for the generated ReplyTo class to let it function properly as an index in the hashmap to resolve the issue. Update PropertyValueTest to remember the initial reply-to destination it sets and compare it with the value returned after sending/receiving the message, rather than constituting its own test destination for comparison. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243380 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3829: use a seperate object for reference checking to stop the ↵Robert Gemmell2012-02-138-175/+49
| | | | | | | | | AMQMessage holding its underlying 0-8/0-9/0-9-1 connection/io objects in memory after they are closed. Also stops an NPE on the 0-8/0-9/0-9-1 subscriptions when evaluating no-local after store recovery. Enables NoLocalAfterRecoveryTest again, though updated to make it simpler and more reliable. This test should be removed if changes for QPID-3605 are undertaken. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1243379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3803: System tests SortedQueueTest fail ocasionally on slow machinesKeith Wall2012-02-101-31/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3824 - Additional queue statistics, posix memory statistics, and ↵Ted Ross2012-02-092-0/+308
| | | | | | broker-scope statistics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3823: ServerSession unblock(AMQQueue) can cause NPE when trying to ↵Keith Wall2012-02-094-67/+85
| | | | | | | | remove a queue from _blockingQueues Map that is not present Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3825: TransactionTimeoutTest.testProducerOpenCommit and others fails ↵Keith Wall2012-02-091-2/+8
| | | | | | | | | sporadically on slower boxes The test needs to sync() after sending the last test message in order that the test and broker start measuring the idle transaction from the same point in time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242399 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3821: Uncaught exception thrown in QueueRunner.run() could cause ↵Keith Wall2012-02-092-21/+30
| | | | | | QueueRunner to remain stuck in RUNNING state permanently git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3819: ExhaustiveACLTests seen to timeoutKeith Wall2012-02-094-150/+128
| | | | | | | | | Backout changes to AMQStateManager made by QPID-3512 as these changes were causing the client to hang for 30 seconds after the Broker closed connection due to ACL violation. Refactored ConnectionCloseTest (now called BrokerClosesClientConnectionTest) to avoid the sporadic failure by verifying that the closed connection is reported correctly to the client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242338 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3820: Sporadic failures from ProducerFlowControlTestKeith Wall2012-02-081-2/+2
| | | | | | | | The tests rely on a sync() to make sure the Broker has received the sent messages and has had a chance to invoke flow-control. However, a defect in tests testClientLogMessages and testSendTimeout meant that an inactive session was actually being sync'd, rather than the one used to produce the messages. This will probably explain the sporadic failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1241866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3820: ProducerFlowControlTest#testSendTimeout test fails sprodically on ↵Keith Wall2012-02-071-141/+85
| | | | | | 0-10 profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1241670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3809: Java Broker killed by java.net.SocketException: Broken pipe ↵Keith Wall2012-02-071-6/+18
| | | | | | | | (killed by uncaught exception handler) Applied patch from Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1241433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3818: Replace CombinedTest and its support classes with a simpler ↵Keith Wall2012-02-076-466/+169
| | | | | | test-case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1241431 13f79535-47bb-0310-9956-ffa450edef68