summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3142: enable tests to run against a copy of an existing work directoryRobert Gemmell2011-03-153-2/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081858 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109Rajith Muditha Attapattu2011-03-141-0/+16
| | | | | | | Added a test case to cover a producer created with a null destination (where a valid destination is supplied each time send is invoked). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3143Rajith Muditha Attapattu2011-03-142-1/+15
| | | | | | | | | | | Removed the line which sets the create option to 'always'. Please note that the default create option is set to 'never'. Therefore if just a queue name is specified the client will throw an exception if that queue is not present in the broker. However this check will only be performed when a producer or consumer is created using that destination. Also modified the existing test case to verify the default and the explicit create case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-111-50/+46
| | | | | | | Refactored the test a bit and added a test for default reliability modes for Topics and Queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1080417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-091-0/+91
| | | | | | | | | | Adding a test case for the reliability options. It verifies that, 1. The correct accept modes are set for unreliable and at-least-once. 2. Exceptions are thrown for unsupported unreliable modes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-082-2/+12
| | | | | | | | The reliability mode is now used on the producer side to determine replay. Any messages transfers sent to a destination marked unreliable will not be added to the replay buffer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3127: Set accept mode to NONE for NO_ACKNOWLEDGEAndrew Donald Kennedy2011-03-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079402 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3125: add target to produce module-level JUnit test reportsRobert Gemmell2011-03-082-0/+13
| | | | | | | Applied patch from Weston M. Price git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109: Change close throws clause to match parent classAndrew Donald Kennedy2011-03-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2984: Add statistics generation for broker message deliveryAndrew Donald Kennedy2011-03-0832-60/+2392
| | | | | | Port of QPID-2932 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2985: Add producer configurable transaction timeoutsAndrew Donald Kennedy2011-03-0826-106/+1145
| | | | | | Port of QPID-2864 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3070: Do not send SessionCompleted with empty rangeAndrew Donald Kennedy2011-03-081-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-072-4/+19
| | | | | | | | Set the default reliability modes for Topics and Queues. The code now throws an exception if at-least-once is specified for Topics as we don't support it properly atm. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109Rajith Muditha Attapattu2011-03-072-3/+5
| | | | | | | | Added a null check for the destination in both MessageConsumer and MessageProducer close methods. According to the JMS spec the MessageProducer can be created with a null destination and still be used properly by specifying a destination on the send. Therefore this null check especially important on the message producer side. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078961 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increment version numbers from 0.9 to 0.11Robert Gemmell2011-03-073-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078729 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Update trunk versions to 0.11Andrew Stitcher2011-03-044-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078098 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2084, QPID-3111: Enable DynamicQueueExchangeCreateTest for 0-10Andrew Donald Kennedy2011-03-041-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077990 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3114: Record the owner session for exclusive queues in 0-10Andrew Donald Kennedy2011-03-041-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3113: Exclude ChannelCloseTest from 0-10 profiles onlyAndrew Donald Kennedy2011-03-042-58/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3111: Check for 404 error code explicitly in DynamicQueueExchangeCreateTestAndrew Donald Kennedy2011-03-041-10/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3110: unquote the key values for recieved Notifications to ensure they ↵Robert Gemmell2011-03-041-3/+22
| | | | | | align with unquoted names used elsewhere in the console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-033-2/+46
| | | | | | | | Only UNRELIABLE and AT_LEAST_ONCE is supported. Currently the reliability mode is used only for determining the accept-mode. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076800 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109Rajith Muditha Attapattu2011-03-036-11/+125
| | | | | | | | | The isQueueExist method is modified to handle the exception when a queue has been deleted. Both the Message producer and consumer now delete the queue if the delete option is selected and will not check if the queue is empty or if there are any subscribers on it. Also added test cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3108: Allow QueueSender queue to be unidentified and still use gettersAndrew Stitcher2011-03-031-44/+43
| | | | | | | - Change error checks so that don't throw an incorrect exception in getters when the queue is null. This should only happen when sending. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-031-1/+15
| | | | | | | | | | | The getPropertyNames method will filter out any property names whose values are not allowed as per the JMS spec. I could have used the ALLOWED map to check if a value is a valid type. But unfortunately that map contains byte[] as a valid type, which is not correct as per the JMS spec. I did not want to modify that map or the behaviour of the setObjectProperty or getObjectProperty methods as there might be applications out there that is depending on it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3106Rajith Muditha Attapattu2011-03-033-36/+105
| | | | | | | Instead of checking if it's an instance of AMQQueue, the code the now checks if it's an instance of AMQDestination and javax.jms.Queue to cover the AMQAnyDestination case. The same check is done for topics. Added test cases for QueueReceivers, TopicSubscribers and DurableTopicSubscribers using the new addressing scheme. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076516 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3081: add statistic for queue flow control transitionsKenneth Anthony Giusti2011-03-021-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3099Rajith Muditha Attapattu2011-03-012-0/+46
| | | | | | | | | | Added logic to look for the 'host' in the authority field if getHost returns null. Looking at the code that follows, you could definitely make more improvements. However since we are close to the 0.10 release I'd leave things as it is for the time being. I have also added test cases to cover the issues highlighted by the respective JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076011 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3098Rajith Muditha Attapattu2011-03-013-4/+26
| | | | | | | | This commit allows a MapMessage to accept an UUID object in it's setObject method. Added test cases for directly setting UUID objects or inside Maps and Lists that gets set into the MapMessage body. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2979: Added SASL client plugin for ANONYMOUS; added call to register ↵Gordon Sim2011-03-014-0/+111
| | | | | | available plugins for 0-10 codepath. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3092: add a tab view to expose the virtualhost attributesRobert Gemmell2011-03-011-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075756 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3090: allow the JMX Management Console to work properly with quoted ↵Robert Gemmell2011-03-011-3/+26
| | | | | | ObjectName key values git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075745 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3090: quote the MBean ObjectName key values for the names of Queues, ↵Robert Gemmell2011-03-019-42/+35
| | | | | | Connections, Exchanges, and VirtualHosts instead of just remapping characters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075744 13f79535-47bb-0310-9956-ffa450edef68
* Fix build broken by change to QMF management schema from QPID-2935Gordon Sim2011-02-211-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1073038 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3015: Added create and delete methods to management schema for brokerGordon Sim2011-02-181-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1072179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3029: Set channel and heatbeat max to correct valuesAndrew Donald Kennedy2011-02-181-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071972 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3065: Tidy up unused parts of DisassemblerAndrew Donald Kennedy2011-02-171-25/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071700 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3028: only hold the bytes for the cached string, instead of the entire ↵Robert Gemmell2011-02-172-1/+18
| | | | | | network read buffer array git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3028: use a small array and companion HashMap to store the incomplete ↵Robert Gemmell2011-02-171-13/+42
| | | | | | Methods, rather than pre-allocating a 64000 entry array git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3028: make assembler and disassembler use a static ThreadLocal for its ↵Robert Gemmell2011-02-173-7/+12
| | | | | | BBEncoder and BBDecoder, release buffer from BBDecoder when complete git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3066: Correct conditions for running UTF8TestAndrew Donald Kennedy2011-02-171-23/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3065: Send header and frame data as single bufferAndrew Donald Kennedy2011-02-171-10/+13
| | | | | | | The Disassembler now fills a ByteBuffer with the entire frame contents before passing it to the Sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3008: Fix failover behaviour in 0-10 for QueueBrowserAutoAckTestAndrew Donald Kennedy2011-02-173-26/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3047: Fix QueueDepthWithSelectorTest on 0-10Andrew Donald Kennedy2011-02-172-111/+31
| | | | | | Refactor test and fix 0-10 client session to flush acks git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071620 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3048: InternalBrokerBasecase not removing all log actorsAndrew Donald Kennedy2011-02-172-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3016: Store soft references to ReplyTo destinationsAndrew Donald Kennedy2011-02-171-14/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3056: remove the unused SSL certificate, and then also the newly-empty ↵Robert Gemmell2011-02-141-0/+0
| | | | | | resources folder itself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1070544 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3055Rajith Muditha Attapattu2011-02-144-118/+70
| | | | | | | | | | | | As the first step added system properties for host, port and address and got rid of the jndi lookup. There is also a system property for URL which allows a user to specify a fully fledged URL with various connection options like SSL etc.. If the host & port is specified the URL property is ignored. I also added some documentation in the perf_report.sh suggesting recommended settings for performance testing. These are guidelines only and a prospective user needs to experiment with their environment to fine tune the settings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1070519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3054: remove unused java/systests/src/old_test contentsRobert Gemmell2011-02-147-1235/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1070497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3050Rajith Muditha Attapattu2011-02-121-1/+1
| | | | | | | Modified the code to use the correct system property name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1069998 13f79535-47bb-0310-9956-ffa450edef68