summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-464 : Set the default uncaught exception handler to abruptly terminate ↵Robert Godfrey2012-01-023-27/+91
| | | | | | | | the JVM (Note this commit also contains fixes for CurrentActorTest as it was discovered that this test was throwing uncaught exceptions from created Threads - i.e. not the main test thread) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1226557 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3713 : Implement producer side flow control for 0-10 in Java BrokerRobert Godfrey2012-01-0210-30/+157
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1226382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3714 : [Java] Performance ImprovementsRobert Godfrey2011-12-28156-3308/+5123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Persistence: Store message in same transaction as enqueue if possible Memory: Remove unnecessary (un)boxing Reduce unnecessary copying of message data Cache short strings Cache queues for a given routing key on an Exchange (0-9) Use a fixed size buffer for preparing frames to write out Other: Reduce calls to System.currentTimeMillis (0-10) Special case immutable RangeSets, in particular RangeSets of a single range/point (0-10) Special case delivery properties and message properties in headers (0-9) send commit-ok as soon as data committed to store Cache publishing access control queries (0-9) Optimised long and int typed values for FieldTables (0-9) Retain FieldTable encoded form (0-9) Cache queue and topic destinations git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1225178 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3712: fix regression (error in logic was adding port number to path twice).Keith Wall2011-12-261-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1224821 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3712: Correct QpidBrokerTestCase#isExternalBroker logic to correct ↵Keith Wall2011-12-261-2/+2
| | | | | | return true when testing with externally spawned Brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1224789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3713: remove redundant failover test casesKeith Wall2011-12-2614-1560/+6
| | | | | | | | | | | | | The following tests/test cases have been identified: 1) QueueBrowserAutoAckTest#testFailover*. These tests were running against Java 0-9-1 profiles and excluded against Java/CPP 0-10. New test cases FailoverBehaviourTest#testTransactedQueueBrowserCloseWhileFailover/testClientAcknowledge test the same code paths. 2) AcknowledgeAfterFailoverOnMessageTest/AcknowledgeAfterFailoverTest. These tests were globally excluded (Excludes file). New tests FBT.testClientAcknowledgedSessionCloseAfterFailover/testTransactedSessionCloseAfterFailover/testAcknowledgeAfterFailoverForAsynchronousConsumer cover these scenarios. 3) MessageDisappearWithIOExceptionTest. Tests were added after a defect arising from Java Broker use of MINA. Test scenario covered by FBT.testRecoverAfterFailoverInAutoAcknowledgeMode. 4) FailoverBeforeConsumingRecoverTest. Test case seemed weak: merely caused a failover then repeated the same tests as its super (RecoverTest). FBT.testRecoverAfterFailover and testRecoverWithConsumedMessagesAfterFailover are superior replacements. 5) QuickAcking. Test exercised same code paths as FBT.testMessageProducingAndRollbackAfterFailover. CloseAfterConnectionFailureTest duplicates FailoverMethodTest#testNoFailover. The testcase was actually excluded from all profiles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1224788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3707: Fix ClassCastException when processing QueueUnbind for 0-9-1 ↵Keith Wall2011-12-221-5/+18
| | | | | | protocol. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1222502 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3659 The previous if statement for processing boolean props looks a bit ↵Rajith Muditha Attapattu2011-12-211-8/+12
| | | | | | convoluted. Changed it to a more simple and easily readable statement. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1221557 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3703: ACL test improvementsKeith Wall2011-12-204-177/+213
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1221518 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed build product that shouldn't have benn checked inAndrew Stitcher2011-12-201-23/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1221477 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3698: remove unnecessary test - MessageStoreShutdownTestKeith Wall2011-12-201-81/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1221313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3044: Implement JCA Adapter for Java JMS clientAndrew Stitcher2011-12-1894-6/+17478
| | | | | | - Large contributions from Weston Price & Kevin Conner git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1220336 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3691: failover should sync once before reporting failover successKeith Wall2011-12-161-0/+1
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1215113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3682: Shutdown Plugin ImprovementsKeith Wall2011-12-168-65/+85
| | | | | | | | | | | | | Various improvements to shutdown plugin: 1) Give the ShutdownPlugin instance a name to allow it to be permission via ACL METHOD rules. 2) Refactored to extend DefaultManagedObject. 3) Added method/parameter annotations to improve usability from the UI. 4) Fix date format parsing pattern used by the plugin Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1215112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3687 : Improve Java Broker performanceRobert Godfrey2011-12-1518-210/+800
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1214760 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: move log4j config for backup.sh to correct locationKeith Wall2011-12-151-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1214671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3684: Remove the Message Store Tool and its associated script and ↵Keith Wall2011-12-1520-3520/+0
| | | | | | | | configuration Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1214670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3680: Header exchange bindings not being created via JMX Management ConsoleKeith Wall2011-12-142-39/+129
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1214206 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3672: Occasional NPE from Qpid Management Console when connecting to serverKeith Wall2011-12-141-1/+1
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1214145 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3676: Correct issues found by findbugs marked as blockersKeith Wall2011-12-132-121/+122
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1213636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3625 Comitting a patch from Weston Price.Rajith Muditha Attapattu2011-12-125-15/+73
| | | | | | (cherry picked from commit e7b630fd35055c9b80e3799c6939c7f3687b0c02) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1213290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3625 Reversing the change we made as AUTO_ACK seems correct.Rajith Muditha Attapattu2011-12-091-1/+1
| | | | | | | | For the specific changes required for the JCA case we will be exploring other alternatives. (cherry picked from commit 3223886060101a3f471ad7f33fa07647d5ba2752) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1212554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3625 Commiting the patch by Weston Price.Rajith Muditha Attapattu2011-12-081-3/+3
| | | | | | (cherry picked from commit fe3d0c1184bb124973e2cd7e451a67ac4a52a692) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1211959 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3659 Added a method in AMQBrokerDetails to handle booleanRajith Muditha Attapattu2011-12-072-8/+23
| | | | | | | | | properties which defaults to "True". I also added a log message to printout the TCP_NODELAY value returned by the sockets getTcpNoDelay() method as a way of figuring out the exact settings. (cherry picked from commit d2377ceb08af030e95ccc3d578df2d59ca3933c1) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1211611 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3662: Only display connection options once in toString of URLAndrew Donald Kennedy2011-12-062-10/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1211061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3661: Add Dynamic-Import-Package wildcard entry to client .bnd fileAndrew Donald Kennedy2011-12-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1211060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3489: Attempt to load all custom exchanges rather than returning at ↵Andrew Donald Kennedy2011-12-061-1/+1
| | | | | | first failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1211059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2243, QPID-3658: update test to fix incorrect assumption that messages ↵Robert Gemmell2011-12-021-0/+10
| | | | | | | | have already reached the broker Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1209430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2243: 0-10 protocol connections do not have a matching JMX MBean to ↵Robert Gemmell2011-12-0112-125/+1052
| | | | | | | | allow management. Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1209052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3654: ANONYMOUS SASL mechanism does not work on Java clientAndrew Stitcher2011-11-301-2/+3
| | | | | | | | | Added a CallbackHandler for the ANONYMOUS mechanism (even though it should never be called) - This is necessary because the client uses the map of callback handlers to construct the list of available mechanisms. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1208733 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update scripts to reference current deps etcRobert Gemmell2011-11-305-11/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1208480 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: copy optional module scripts if the module is requestedRobert Gemmell2011-11-301-3/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1208479 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused 'qpid.passwd' file, update 'md5passwd' file to align ↵Robert Gemmell2011-11-306-214/+2
| | | | | | users with the 'passwd' file. Remove unused out of date debug log4j config file. Remove old unused conf files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1208478 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3642: Fix for redelivery regression found by python testsKeith Wall2011-11-304-12/+57
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1208435 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3601: Occasional failure to delete queue on broker shutdownKeith Wall2011-11-302-8/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1208434 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3641: rename configuration element aclv2 => acl.Keith Wall2011-11-283-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1207407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3489: Added org.apache.qpid.server.message to exported packages for brokerAndrew Donald Kennedy2011-11-281-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1207096 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3642, QPID-3640: Add Dead Letter Queue functionality for 0-10 path. ↵Keith Wall2011-11-288-183/+252
| | | | | | | | Also, it fixes issue with setting of redelivered flag for pre-fetched messages as DLQ functionality relies on this flag being set correctly. Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1207031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3642,QPID-3643: Add Dead Letter Queue functionality for 0-8/0-9/0-9-1 ↵Keith Wall2011-11-2851-172/+2610
| | | | | | | | paths, fixes isBound methods on FanoutExchange Applied patch from Keith Wall <keith.wall@gmail.com>, Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1207029 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3474: Maintain connectionid/username Map from only ↵Keith Wall2011-11-252-16/+31
| | | | | | JMXManagedObjectRegistry (Improved separation of concerns). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1206086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3474: Use JMX notification handback data to ensure that open/close/fail ↵Keith Wall2011-11-243-91/+168
| | | | | | events are logged with username only, rather than a complete list of pricipals. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205911 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3641: ACLV2 Simplifications and Improvements for Java BrokerKeith Wall2011-11-2433-1464/+674
| | | | | | | | | | | | | Improvements and simplifications to ACL V2 for the Java Broker: 1) Removed 'EXECUTE' operation (we now just have ACCESS and UPDATE like C++ broker) 2) Enable users with management rights for a procedure to complete that procedure without matching AMQP rights (configurable) 3) Fix up system tests (make clearer, remove need for lots of support files) 4) Fix disparity in DENY_LOG and DENY-LOG values between brokers. 5) Get rid of transitive/expand permission rules Work from Robbie Gemmell and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205782 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3582: Client reporting "Unable to load custom SASL providers" during ↵Keith Wall2011-11-221-6/+0
| | | | | | connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205197 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3426: Remove broken/no-value test FailoverTest#test4MinuteFailoverKeith Wall2011-11-223-50/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1204858 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3622: Removal of unwanted SortedQueue tests.Keith Wall2011-11-211-53/+0
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1204443 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3622: exclude sorted queue tests from CPP BrokerKeith Wall2011-11-211-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1204391 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3559: SimpleDateFormat used in thread unsafe manner in JMX Managed ↵Keith Wall2011-11-203-102/+309
| | | | | | | | Queue interface. Resolved thread safe issue. Added supporting unit and system test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1204296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3622: Add Sorted Queue funtionalityKeith Wall2011-11-2036-517/+2749
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1204295 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add licence to .gitignore filesRobert Gemmell2011-11-171-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203390 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add missing licence headers to various files in the java treeRobert Gemmell2011-11-1714-0/+277
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203385 13f79535-47bb-0310-9956-ffa450edef68