summaryrefslogtreecommitdiff
path: root/java/common
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3401 Checking the proposed changes into a branch to preserve history & ↵address-refactorRajith Muditha Attapattu2011-10-142-4/+195
| | | | | | continue working until such time it's accepted into trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor@1183532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3524: enable support for failing over transacted sessions, ensuring ↵Robert Gemmell2011-10-062-40/+30
| | | | | | | | txSelect is sent after the command-point process is complete, but before the session is marked in the open state. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1179702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3515: update qpid-server and qpid-run to enable them to work if ↵Robert Gemmell2011-09-301-5/+8
| | | | | | QPID_HOME and QPID_WORK contain spaces and parentheses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3444: issue an invalid argument execution exception if the exchange ↵Robert Gemmell2011-09-252-6/+3
| | | | | | 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/qpid@1175625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3402: fix excludes files to work with spaces etc in path, make SSL ↵Robert Gemmell2011-09-251-1/+5
| | | | | | 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/qpid@1175567 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/qpid@1173738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3415: Change 0-10 code path to utilise the CallbackHandlerRegistry to ↵Keith Wall2011-09-196-252/+78
| | | | | | 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/qpid@1172506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3428: make the Java broker validate 0-10 Session names, enabling it to ↵Robert Gemmell2011-09-133-3/+17
| | | | | | | | | 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/qpid@1169982 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3449: adds ability to override the session timeout via JVM properties ↵Robert Gemmell2011-09-123-4/+97
| | | | | | | | 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/qpid@1169773 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2627 : Remove dependency on MINARobert Godfrey2011-09-0948-1257/+837
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1167311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3473 : Replace use of MINA IO with transport IO (joint work with Robbie ↵Robert Godfrey2011-09-0733-2126/+468
| | | | | | Gemmel) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3453: Fixes an issue with closing of detached sessionKeith Wall2011-08-261-8/+21
| | | | | | | 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/qpid@1162122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3452: Broker now unregisters any remaining subscriptions on receipt of ↵Keith Wall2011-08-251-3/+2
| | | | | | 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/qpid@1161492 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove test config for Logger which is no longer used, move test ↵Robert Gemmell2011-08-211-10/+63
| | | | | | start reporting to QTC so it shows up in output of non-broker tests, move log level utility methods to QTC git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3434: Refactored 0-8..0-9-1 code paths to use same SSL configuration ↵Robert Gemmell2011-08-181-2/+9
| | | | | | | | mechanisms as 0-10. Apply work by myself and Keith Wall git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3429: ensure that SSL is enabled correctly in MinaNetworkHandler. ↵Robert Gemmell2011-08-1814-268/+224
| | | | | | | | Refactor SSLContextFactory to be a factory, and present a useful interface for both client and server side use. Added keystore for the Java broker, renamed existing client trust/key stores for clarity. Fix SSL port configuration. Added new SSL tests, and ensure these are *always* run in the Java 0-10 profiles. Committing work by myself and Keith Wall. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: Regression when forming SSL connections.Robert Gemmell2011-08-155-64/+109
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3402: revert r1155516, bad things happened without spaceRobert Gemmell2011-08-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1155972 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3402: also use a semi-colon deliminator instead of just whitespace, so ↵Robert Gemmell2011-08-091-1/+1
| | | | | | as to allow identifying the excludes files correctly when the directory structure includes spaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1155516 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3385: assign IDs from a generator within the ↵Robert Gemmell2011-08-084-23/+43
| | | | | | MultiVersionProtocolEngineFactory, which is shared across all protocol versions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1155136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3367: FileUtils improvements. #openFileOrDefaultResource now tries the ↵Robert Gemmell2011-07-214-11/+98
| | | | | | | | override filename in the classpath too, before falling back to the default. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1149165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2498: upgrade Mina to 1.1.7.Robert Gemmell2011-07-141-1/+1
| | | | | | Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1146677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: move a previously missed test-only class into the test treeRobert Gemmell2011-07-141-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1146676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3345: restore/add ability to use sys props to select the ↵Robert Gemmell2011-07-146-10/+327
| | | | | | | | NetworkTransport used to make/accept connections Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1146594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3310 - Principal/Subject refactoring.Robert Gemmell2011-07-132-27/+31
| | | | | | | | | | Refactoring to the connection/session objects to pass the Subject from Authentication tier to Access tier, rather than just the Principal. Change the access-control to be able to make access decisions based on Groups from the Authentication tier whilst retaining support for groups declared within the ACL file itself. Improve unit tests. Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1146079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3269Rajith Muditha Attapattu2011-07-084-18/+76
| | | | | | | | | | | In order to verify the uniqueness of the client ID, a dummy session is created using client ID as it's name. This prevents any other connection from using same client ID as the session creation will fail. However this verification is switched off by default in order to preserve backwards compatibility. You need to use -Dqpid.verify_client_id=true switch verification on. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1144531 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3343: refactor test profiles to allow testing within the same JVM for ↵Robert Gemmell2011-07-0712-1922/+8
| | | | | | | | all protocols, remove vm:// transport support and associated forked Mina classes Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: transition TCP based Mina transport for 0-8/0-9/0-9-1 protocols ↵Robert Gemmell2011-07-0719-568/+919
| | | | | | | | over to new IO interface model Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: rationalise the existing 0-10 transport code and introduce new ↵Robert Gemmell2011-07-0714-273/+315
| | | | | | | | NetworkTransport + NetworkConnection abstraction. Decouple IoSender and IoReceiver, initiate their threads after the constructor completes. Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3341: remove unused/dead transport code and accompanying implementation ↵Robert Gemmell2011-07-0721-5140/+7
| | | | | | | | classes Applied patch by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3331: Update trunk versions to 0.13 for the next releaseJustin Ross2011-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3311 Committing a patch by Siddhesh PoyarekarRajith Muditha Attapattu2011-06-201-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1137717 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2158: add length validation into AMQShortString, remove dead code from ↵Robert Gemmell2011-06-076-38/+294
| | | | | | | | AMQDestinations, truncate exception messages with length over 255 before sending them over the wire in AMQChannelException and AMQConnectionException. Applied patch by Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1133037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3261: decrease severity / improve clarity of log messages.Robert Gemmell2011-05-162-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1103899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3233Rajith Muditha Attapattu2011-05-031-1/+2
| | | | | | | | If the underlying AMQP session gets closed, the JMS session is now notified along with details that caused the session closure. The JMS Session will throw an exception (with an error code and details) when a user accesses the closed session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1099288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3205Rajith Muditha Attapattu2011-04-121-1/+29
| | | | | | | Added the nessacery null checks to avoid a NPE due to missing delivery props or headers all together. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1091507 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3167: add a unit test of SimpleAMQQueue#processQueue to check delivery ↵Robert Gemmell2011-03-301-1/+11
| | | | | | when subscriptions with unique selectors are in use git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1087000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3142: enable tests to run against a copy of an existing work directoryRobert Gemmell2011-03-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1081858 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-081-1/+6
| | | | | | | | 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/qpid@1079408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2985: Add producer configurable transaction timeoutsAndrew Donald Kennedy2011-03-081-0/+5
| | | | | | Port of QPID-2864 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@1079041 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increment version numbers from 0.9 to 0.11Robert Gemmell2011-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078729 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3098Rajith Muditha Attapattu2011-03-011-0/+1
| | | | | | | | 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/qpid@1075961 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@1071674 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/qpid@1071641 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/qpid@1070544 13f79535-47bb-0310-9956-ffa450edef68