summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3017: improve error handling for the new transaction classes, add some ↵Robert Gemmell2011-01-2810-124/+1581
| | | | | | | | | logging, add unit tests Applied patches from Keith Wall git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064629 13f79535-47bb-0310-9956-ffa450edef68
* Modified the test cases according to the fix made for QPID-3019Rajith Muditha Attapattu2011-01-281-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064437 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3013: use an equation based delta threshold that takes processor count ↵Robert Gemmell2011-01-271-8/+5
| | | | | | into consideration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064108 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3022: enable the logging tests and fix issues causing failures due to ↵Robert Gemmell2011-01-277-24/+52
| | | | | | minor differences between 0-10 and 0-9 behaviour git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3023: enable using the ServerConfiguration directly instead of ↵Robert Gemmell2011-01-274-59/+24
| | | | | | leveraging an internal broker (via IBBC) to load the vhost config required for the tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3021: set the session/connection actor when the connection recieves new ↵Robert Gemmell2011-01-277-16/+66
| | | | | | events, ensure the correct thread logs close git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3020: fix _logActor variable shadowing, use CurrentActor to log Sub ↵Robert Gemmell2011-01-252-6/+6
| | | | | | creation, dont put the created Sub actor onto the stack as the SubFlushRunner does this already when required git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1063328 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3019Rajith Muditha Attapattu2011-01-256-14/+47
| | | | | | | | | The createMessageProducer method now throws a JMSException. The MessageProducer constructors now throw an AMQException allowing any exceptions caught during destination validation to be propogated back to the createMessageProducer method. Fixed the exception handling for the 0-10 code path where all exceptions are chained properly. This allows the user to get all the relavent information by examing the stack trace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1063123 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3014: create and use a connection actor directly, it doesnt need to be ↵Robert Gemmell2011-01-243-5/+10
| | | | | | put on the CurrentActor stack for the open messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1062722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2902: remove exclusion for LargeMessageTest, I believe QPID-3010 also ↵Robert Gemmell2011-01-211-1/+0
| | | | | | resolves this issue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3010: ensure the SimpleByteBufferAllocator is always used and ↵Robert Gemmell2011-01-214-48/+8
| | | | | | non-direct ByteBuffers are the default, remove the old and now unused configuration methods from ServerConfiguration and update the example config.xml accordingly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3013: create an initial connection to force thread pool startup before ↵Robert Gemmell2011-01-211-0/+6
| | | | | | the test proceeds, as these may be processor-count dependant and throw the final result off git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3012: reduce the cycle count such that 100 connections are used instead ↵Robert Gemmell2011-01-211-1/+1
| | | | | | of 1000 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061862 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3011Rajith Muditha Attapattu2011-01-202-8/+26
| | | | | | | | | | Commiting a fix as per the solution outlined in the above JIRA. A null check is added in the generateDestination method in AbstractAMQMessageDelegate.java where an ExchangeInfo object is created with just the exchange name to allow the destination to be created. The correct information will be querried when a consumer or producer is created with that destination. If a replyTo address is available then the exchange info for that is querried and updated within the updateExchangeTypeMapping method in AMQMessageDelegate_0_10.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061577 13f79535-47bb-0310-9956-ffa450edef68
* While commiting a fix for QPID-2994 I accidently modified the timeout value.Rajith Muditha Attapattu2011-01-111-1/+1
| | | | | | | I am restoring it to the original value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2991: added message counts to connection stats; fixed xxxToClient statsGordon Sim2011-01-111-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2995Rajith Muditha Attapattu2011-01-111-0/+4
| | | | | | | The redelivered flag is now set on messages that are restransmitted after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2994Rajith Muditha Attapattu2011-01-112-3/+10
| | | | | | | When the session is marked transactional, message transfers are not replayed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2966: add 'not implemented' stumps for the recently added ↵Robert Gemmell2010-12-111-0/+12
| | | | | | get/setLogLevel QMF methods to allow the Java tree build to complete git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1044674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2959Rajith Muditha Attapattu2010-11-241-2/+4
| | | | | | | | If the exchange or routing key is null, it's now being set to empty string. If set to empty string the message will be sent to the nameless exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1038773 13f79535-47bb-0310-9956-ffa450edef68
* Correct typosRobert Gemmell2010-11-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037923 13f79535-47bb-0310-9956-ffa450edef68
* add README.txt file for Java client, include in the distributed binary ↵Robert Gemmell2010-11-222-1/+58
| | | | | | convenience archive git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037881 13f79535-47bb-0310-9956-ffa450edef68
* Remove redundant/unused scriptRobert Gemmell2010-11-221-21/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037879 13f79535-47bb-0310-9956-ffa450edef68
* Remove file from the old maven build systemRobert Gemmell2010-11-221-35/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037878 13f79535-47bb-0310-9956-ffa450edef68
* Remove out of date/redundant scripts and README.txt fileRobert Gemmell2010-11-223-144/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037877 13f79535-47bb-0310-9956-ffa450edef68
* Update versions/names in the release note filesRobert Gemmell2010-11-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037876 13f79535-47bb-0310-9956-ffa450edef68
* Revised release notes for 0.6Robert Gemmell2010-11-221-18/+4
| | | | | | | merged from 0.6-release branch r 904458 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2950: correct the shutdown exception check to verify the SQLCode is for ↵Robert Gemmell2010-11-171-2/+4
| | | | | | single-db shutdown rather than full Derby engine shutdown git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2947: update slf4j to 1.6.1 to allow using the client package ↵Robert Gemmell2010-11-177-7/+7
| | | | | | out-of-the-box without supplying a logging implementation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2944: update QMan README.txt to give the correct URL for the ↵Robert Gemmell2010-11-141-1/+1
| | | | | | admininstration console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035030 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2944: update QMan build file to reflect change of README filname to ↵Robert Gemmell2010-11-141-5/+5
| | | | | | README.txt git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035029 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2943: add the example src+jar to the client release archiveRobert Gemmell2010-11-141-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035028 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2943: remove references from the README.txt file to examples that no ↵Robert Gemmell2010-11-141-260/+4
| | | | | | longer exist git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035027 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2942: disable management SSL by default, update config.xml to use ↵Robert Gemmell2010-11-142-3/+6
| | | | | | keystore path from example keystore creation script and move systest keystore config to the systest config override file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035026 13f79535-47bb-0310-9956-ffa450edef68
* Fixed minor errors in the scriptsRajith Muditha Attapattu2010-11-102-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033592 13f79535-47bb-0310-9956-ffa450edef68
* Added log4j as dep for tools module.Rajith Muditha Attapattu2010-11-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032745 13f79535-47bb-0310-9956-ffa450edef68
* This is related to rev 1032640Rajith Muditha Attapattu2010-11-085-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032733 13f79535-47bb-0310-9956-ffa450edef68
* Moved the testkit scripts under the tools module.Rajith Muditha Attapattu2010-11-083-1/+1
| | | | | | | | | | I will be moving the source also into the tools module in subsequent commit. The goal is to have all tools in a single location. The perftest script and the testkit script are very good tools for release testing. These scripts will also be used in downstream packages for the same purpose. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032640 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2929: *actually* fix inclusion of the broker-plugins in the release ↵Robert Gemmell2010-11-081-2/+2
| | | | | | *archives* git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032429 13f79535-47bb-0310-9956-ffa450edef68
* Increment version numbers from 0.7 to 0.8(docs) and 0.9(code)Robert Gemmell2010-11-077-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032374 13f79535-47bb-0310-9956-ffa450edef68
* reduce the amount of change required to update the icky hardcoded version ↵Robert Gemmell2010-11-071-27/+28
| | | | | | information git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032357 13f79535-47bb-0310-9956-ffa450edef68
* add Licence info to another couple of filesRobert Gemmell2010-11-072-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032356 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2931: update MessageReference to stop nulling out the ServerMessage ↵Robert Gemmell2010-11-071-6/+7
| | | | | | reference upon release for now, preventing NPE's experienced due to race conditions resulting in use of getMessage() after release. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032291 13f79535-47bb-0310-9956-ffa450edef68
* Added a test case for QPID-2737, QPID-2774, QPID-2928Rajith Muditha Attapattu2010-11-051-3/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2929: ensure the broker-plugins are added to the broker release binary ↵Robert Gemmell2010-11-041-1/+7
| | | | | | when running 'ant release-bin' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031334 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2928 QPID-2737 The isExclusive method in BasicMessageConsumer_0_10.java ↵Rajith Muditha Attapattu2010-11-045-5/+87
| | | | | | takes the dest syntax into consideration when determining the exclusivity for a subscription. For destinations created using the addressing syntax, Queue subscriptions are non exclusive by default but are allowed to change it. Topic subscriptions are exclusive and is not allowed to change the value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2927: catch and ignore InstanceNotFoundException as this is not ↵Robert Gemmell2010-11-041-1/+9
| | | | | | unexpected during a clean broker shutdown with the plugin loaded git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2927: fix inconsistent use of spaces and tabs for indentation, always ↵Robert Gemmell2010-11-041-18/+18
| | | | | | use spaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031305 13f79535-47bb-0310-9956-ffa450edef68
* add ASF licence to various files in the java treeRobert Gemmell2010-10-315-8/+102
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029523 13f79535-47bb-0310-9956-ffa450edef68
* add ASF licence to Java .testprofile and exclude filesRobert Gemmell2010-10-3126-0/+483
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029522 13f79535-47bb-0310-9956-ffa450edef68