summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3507: move the MessageListener check in front of the _receiving CASRobert Gemmell2011-09-271-4/+4
| | | | | | Applied patch from Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1176326 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3444, QPID-3363: update destinations in AddressBasedDestinationTest to ↵Robert Gemmell2011-09-252-6/+5
| | | | | | | | | use ensure use of Address based destinations, update CloseTest to use JMS methods for creating destination. Resolves spurious test failures on C++ and Java broker profiles since they started properly enforcing binding restrictions on the default exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1175627 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3444: issue an invalid argument execution exception if the exchange ↵Robert Gemmell2011-09-256-16/+26
| | | | | | name is null or the empty string. Update some constants to ensure the error code is logged with the correct message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1175625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3402: fix excludes files to work with spaces etc in path, make SSL ↵Robert Gemmell2011-09-254-6/+10
| | | | | | tests use relative path to keystore files to allow parsing the URLs containing them git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1175567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3504: add the Java broker bdbstore to the build as an optional moduleRobert Gemmell2011-09-2466-7/+7371
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1175235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3332: Separate open/idle transaction timeout tests to remove the ↵Keith Wall2011-09-235-313/+199
| | | | | | possibility of an unexpected log message. Remove TransactionTimeoutConfigTest as this only duplicated tests aleady performed by TransactionTimeoutTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1174842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3501: LogMonitor duplicates chunks of log file if it fails to find ↵Keith Wall2011-09-234-28/+23
| | | | | | match. Avoid busy-wait in LogMonitor whilst polling log file. Make QpidBrokerTestCase use a autoflushing PrintStream for writing broker messages to log (client side messages were already autoflushed as this is a default behaviour of the log4j Appender). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1174648 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3501: LogMonitor can corrupt test logs files and cause tests ↵Keith Wall2011-09-2212-60/+127
| | | | | | subclassing AbstractLoggingTests to fail. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1174196 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3498: Broker race condition mean that it tries to respond before ↵Keith Wall2011-09-212-1/+5
| | | | | | IoSender thread is running git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1173738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3466 Removed the extraneous toString()Rajith Muditha Attapattu2011-09-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1173693 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3493: FailoverMethodTest.testFailoverSingleDelay occasionally fails on ↵Keith Wall2011-09-191-2/+2
| | | | | | slow CI box git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1172541 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3415: Change 0-10 code path to utilise the CallbackHandlerRegistry to ↵Keith Wall2011-09-1914-413/+652
| | | | | | create the correct CallbackHandler. The sasl_mechs property/broker option is retained, but continues to be understood only by the 0-10 path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1172506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2672: Unroutable persistent messages should be immediately removed from ↵Keith Wall2011-09-158-81/+148
| | | | | | store. Added new operational logging message (EXH-1003 - Discarded Message) that reports when the Broker drops an unroutable message. Added new System Test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1171079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3486: Make connector server port used for JMX configurable.Keith Wall2011-09-1414-170/+250
| | | | | | Commited work from Andrew MacBean <andymacbean@gmail.com> any myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1170612 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3448: catch exceptions from the underlying Transport/Session/Connection ↵Robert Gemmell2011-09-138-48/+953
| | | | | | | | and rethrow as a JMSException like users are expecting Applied patch by Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1170182 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3428: fix excludes after test related changes from to prior patch ↵Robert Gemmell2011-09-132-3/+16
| | | | | | feeback, add a bit of javadoc to tests and use constants git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1169984 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3428: make the Java broker validate 0-10 Session names, enabling it to ↵Robert Gemmell2011-09-1314-23/+144
| | | | | | | | | satisfy the clients new ClientID verification feature. Misc updates to the clients verification process. Applied patch from Andrew MacBean git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1169982 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3449: adds ability to override the session timeout via JVM properties ↵Robert Gemmell2011-09-124-5/+101
| | | | | | | | qpid.sync_op_timeout and the legacy amqj.default_syncwrite_timeout, across all protocol versions Applied patch by Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1169773 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3459: Increments delivery counter before transfering message to client ↵Robert Gemmell2011-09-123-3/+3
| | | | | | | | in order to count delivery attempts. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1169730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2627: update build.deps to reflect removal of dependency on mina and ↵Robert Gemmell2011-09-103-48/+1
| | | | | | ensure the generated client poms are correct, delete the associated maven dependency stubs which become unused git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1167617 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2627 : Remove dependency on MINARobert Godfrey2011-09-0997-2924/+3012
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1167311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3477: add excludes file for use with the Java broker when running the ↵Robert Gemmell2011-09-091-0/+22
| | | | | | | | 0-10 python client tests Applied patch from Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1167111 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3429: exclude the AMQSSLConnectionTest from cpp profiles, since only ↵Robert Gemmell2011-09-071-0/+4
| | | | | | the cpp.ssl profile can run it yet doesnt really need to git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1166256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2901: fixes racing conditions on broker side when TopicDeletePolicy is ↵Robert Gemmell2011-09-073-2/+16
| | | | | | | | closing the consumer Session but the broker is trying to deliver next message to the Subscription of this closing Session. Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1166246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3467: replace the 'connection id' with the Username of the logged in ↵Robert Gemmell2011-09-075-76/+89
| | | | | | | | user for the ManagementActor, since the value for the connection id was arrived at using an incorrect assumption that the id number in the thread name for a particular RMI thread is specific to a given JMX connection when it isnt. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1166134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3473 : Replace use of MINA IO with transport IO (joint work with Robbie ↵Robert Godfrey2011-09-0757-2899/+771
| | | | | | Gemmel) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1166069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3466 Removed the 'create:always' option when constructing theRajith Muditha Attapattu2011-09-061-1/+1
| | | | | | | | address string from the replyTo construct. The application which sets the replyTo is responsible for creating/deleting the replyTo destination and not the one who sends messages to it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1165702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3463: Adds catching of Throwable on broker startupRobert Gemmell2011-09-061-1/+1
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1165572 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3468: exclude QueueBrowser related failover testsRobert Gemmell2011-09-052-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1165364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3466 Added logic to convert exchange/replyTo pairs into addressRajith Muditha Attapattu2011-09-051-3/+58
| | | | | | strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1165148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3373 I forgot to ensure the correct port is used in the connectionRajith Muditha Attapattu2011-09-021-1/+3
| | | | | | URL. Changed the test to use the patch proposed by Alex Rudyy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1164327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3461 The commit method implementation in AMQSession_0_10 nowRajith Muditha Attapattu2011-08-311-0/+7
| | | | | | handles the SessionException and throws a JMSException. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3395 Added a test case for this issue.Rajith Muditha Attapattu2011-08-311-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163459 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3373 Adding a test case for this issue.Rajith Muditha Attapattu2011-08-311-0/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3373 Applying Pavel's patch. I also added the same fix for theRajith Muditha Attapattu2011-08-311-23/+42
| | | | | | createXAConnection method with user,password. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3395 Applied Pavel's patch with minor modifications.Rajith Muditha Attapattu2011-08-301-8/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163422 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2720: prevent NPE's in event we didnt fully set up the PluginManagerRobert Gemmell2011-08-261-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3453: Fixes an issue with closing of detached sessionKeith Wall2011-08-262-8/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3266: Tidy up housekeeping configuration option for scheduling frequencyKeith Wall2011-08-2611-22/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3454: System test StreamMessageTest would not detect regression in ↵Keith Wall2011-08-261-20/+25
| | | | | | StreamMessage buffer expansion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162120 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1004: delete dead test (as recommended on the JIRA) since it was ↵Robert Gemmell2011-08-254-159/+1
| | | | | | excluded from all test profiles over 3 years and TTL functionality is covered by other tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161507 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3452: Broker now unregisters any remaining subscriptions on receipt of ↵Keith Wall2011-08-252-3/+23
| | | | | | SessionDetach to prevent SubFlushRunner and QueueRunner sending erroneous frames causing a ProtocolViolationException on the client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161492 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3432: Exclude SyncWait* tests from 0-10 profile. These tests test a ↵Keith Wall2011-08-251-1/+3
| | | | | | 0-8 specific system property. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161491 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3433: Remove passing and not existing tests from excludesKeith Wall2011-08-244-70/+33
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161178 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2904: Avoid race condition between SubFlushRunner and MinaAcceptor ↵Keith Wall2011-08-221-8/+17
| | | | | | | | threads. Send lock was not being held during MessageStop processing. Applying patch by Robbie Gemmell and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160304 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update the default broker.ready message to get the java test ↵Robert Gemmell2011-08-221-1/+1
| | | | | | profiles for the C++ broker working again following the IPv6 related changes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3365: Reverted change to build system to avoid dependency on Ant 1.7.1. ↵Keith Wall2011-08-224-3/+23
| | | | | | client-plugins is now a placeholder empty dir. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160180 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3307: correct a couple style issues, add some basic unit testing for ↵Robert Gemmell2011-08-214-6/+206
| | | | | | ObjectMessage and the new CLAOIS git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160002 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3307: attempt fall back to the ClassLoader which loaded the OIS when ↵Robert Gemmell2011-08-212-1/+138
| | | | | | | | | unable to load required classes during ObjectMessage deserialization process Applied patch from Charith Dhanushka Wickramarachchi based on the solution to this problem from the Apache ActiveMQ codebase. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160001 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2720: make the PluginManager able to work with a pre-existing BundleContextRobert Gemmell2011-08-218-137/+125
| | | | | | | Manually applied patch from Danushka Menikkumbura (no longer applied after intervening commits), then updated PluginManager close() to always close the ServiceTrackers it creates, removed the static field/methods causing test failures which lead to previously reverting the patch, enabled passing a pre existing BundleContext into the Broker instance at startup instead, and finally removed the unused MockPluginManager. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160000 13f79535-47bb-0310-9956-ffa450edef68